[web2py] Guidelines for choosing web2py or py4web

2021-10-05 Thread Daniel Dutra
Today I've discovered that web2py has a child called py4web. Now I'm confused about when to choose any one of these. Documentation says py4web is faster than web2py, but it seemed to me py4web is also more difficult to work with (although I can see that's for a justifiable reason). So, does

[web2py] Re: uwsgi from python2.7 to python3

2020-06-20 Thread Daniel Holth
In uwsgi you need to use a separate plugin for each version of Python. You start with a version of uwsgi with no languages compiled in, the OS uWSGI packages are typically built this way. You obtain a different Python plugin for each version of Python that you want to use. Then you run your

Re: [web2py] Re: New-py4web-group

2020-03-28 Thread Daniel Guilhermino
Correct! Many thanks Massimo. Em sábado, 28 de março de 2020 20:26:32 UTC-3, Massimiliano escreveu: > > It's working now > > On Sun, Mar 29, 2020 at 12:17 AM Massimo Di Pierro > wrote: > >> Can you please try again? >> >> On Saturday, 28 March 2020 12:5

[web2py] Re: New-py4web-group

2020-03-28 Thread Daniel Guilhermino
You do not have permission to access this content. (# 418) I believe it is due to the recent creation of the group, I will try again shortly. Tks! Em sábado, 28 de março de 2020 16:46:26 UTC-3, Massimo Di Pierro escreveu: > > We ave a new group for py4web questions and discussions: > >

[web2py] Re: New-py4web-group

2020-03-28 Thread Daniel Guilhermino
Wow amazing! Many thanks. Best regards, Daniel Guilhermino Em sábado, 28 de março de 2020 16:46:26 UTC-3, Massimo Di Pierro escreveu: > > We ave a new group for py4web questions and discussions: > > https://groups.google.com/forum/#!forum/py4web > > Please also use

[web2py] py4web group

2020-03-28 Thread Daniel Guilhermino
and confusing, especially for the first users. Best regards, Daniel Guilhermino -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because

[web2py] Advice regarding Real-Time applications

2020-03-17 Thread Daniel Correa
Hello community, I know I might be losing some concepts but I'm new in web2py and web development in general. I'll try to explain my problem to you, I have a csv file which is getting updated every second, but I don't know how to fetch this data to web2py, I mean, the file is in the static

[web2py] Re: Google Sign-In OAuth2.0

2019-12-13 Thread Daniel Guilhermino
Hi Dave! I have tried several ways proposed in this chapter of the book, I will devote the next few days to try again, as this is the only part of my project pending for publication ... Thanks for the tip, I'll be back here with news ... and hope they are good! Best regards! Daniel

[web2py] Re: Google Sign-In OAuth2.0

2019-12-12 Thread Daniel Guilhermino
Hi, Any ideas what parameters should I pass to *auth.settings.login_form()*? Em quarta-feira, 11 de dezembro de 2019 08:54:10 UTC-3, Daniel Guilhermino escreveu: > > You're right! > > But I've tried with 'ident' arg too... and return None. > > I believe I am not passi

[web2py] Re: Google Sign-In OAuth2.0

2019-12-11 Thread Daniel Guilhermino
t 9:50:47 PM UTC-8, Daniel Guilhermino > wrote: >> >> Hi, >> >> I have been trying to use Google Sign-in on web2py through the book >> example, but Google allows us to receive user information on the same login >> page after the user has entered the l

[web2py] Google Sign-In OAuth2.0

2019-12-10 Thread Daniel Guilhermino
request.vars ['email'], first_name = request.vars ['first_name'], last_name = request.vars ['last_name']) And always the result is None. Has anyone been able to implement or knows about it? Thanks in advance! Best regards, Daniel -- Resources: - http://web2py.com - ht

[web2py] Re: Many apps in a single app.

2019-07-19 Thread Daniel Guilhermino
Leonel, very interesting this possibility, it is possible to avoid rewriting enough thing, thanks for sharing! Em terça-feira, 9 de julho de 2019 18:56:35 UTC-3, Leonel Câmara escreveu: > > This looks good, if you want to take it a step further and have something > like

[web2py] Re: Routes to expose file

2019-06-06 Thread Daniel Guilhermino
! https://play.google.com/store/apps/details?id=xyz.appmaker.wfnqxh It's just a demo layout, but it's functional and any changes just need to be made on the server, no more daily updates to the user via Google Pay, everything will be runtime. Many thanks for your help! Best regards, Daniel

[web2py] Re: letsencrypt google appengine with web2py

2019-06-06 Thread Daniel Guilhermino
Dude ... thanks a lot! After hours, this answer helped me a lot! Many... Many thanks! Em domingo, 6 de março de 2016 16:30:42 UTC-3, Jacinto Parga escreveu: > > With GAE deployed apps... > > The best solution I've found is using an error handler and a redirection > to the static file with the

[web2py] Re: Routes to expose file

2019-06-04 Thread Daniel Guilhermino
Any other suggestions? Em sexta-feira, 31 de maio de 2019 21:57:34 UTC-3, Daniel Guilhermino escreveu: > > Hi Dave, > > I'm running the source package on ubuntu. > > Show Only this message: > > Internal server error > > Doesn't created an ticket. > > I need to

[web2py] Re: Routes to expose file

2019-05-31 Thread Daniel Guilhermino
the navigation bar. This file contains sha256_cert_fingerprints. Thanks and best regards. Em sexta-feira, 31 de maio de 2019 19:07:39 UTC-3, Dave S escreveu: > > > > On Friday, May 31, 2019 at 7:54:16 AM UTC-7, Daniel Guilhermino wrote: >> >> HI, >> >> I'm having trou

[web2py] Routes to expose file

2019-05-31 Thread Daniel Guilhermino
HI, I'm having trouble exposing a file in the following way: https://example.com/./well-known/file.json I configured my routes.py like this: routers = dict ( # base router BASE = dict ( default_application = 'connect', root_static = ['favicon.ico', 'sw.js',

[web2py] A little suggestion: Create a forum for web3py

2019-05-22 Thread Daniel Guilhermino
Hi, I believe that over time the web2py/web3py forum mixing the two frameworks in the same place will be very polluted and probably will even create confusion for users. I would like suggest setting up a specific forum for web3py. Best regards, Daniel Guilhermino -- Resources: - http

[web2py] Re: new DBAPI in pydal for both web2py and web3py

2019-05-17 Thread Daniel Guilhermino
> https://en.wikipedia.org/wiki/Aditus_to_mastoid_antrum > > On Thursday, 16 May 2019 22:25:58 UTC-7, Daniel Guilhermino wrote: >> >> My 20 cents... Why not Aditus? >> >> Em terça-feira, 14 de maio de 2019 03:18:42 UTC-3, Massimo Di Pierro >> escreveu: >>> &g

[web2py] Re: new DBAPI in pydal for both web2py and web3py

2019-05-16 Thread Daniel Guilhermino
My 20 cents... Why not Aditus? Em terça-feira, 14 de maio de 2019 03:18:42 UTC-3, Massimo Di Pierro escreveu: > > You may have missed this but there is a new functionality in PyDAL that > allows you to create very powerful APIs. It is called DBAPI. > It is still not 100% stable but it is

[web2py] How to do I stop auth.requires_login() from redirecting to the default/user controller?

2019-05-10 Thread Melody Daniel
My app consists of two sides, the public side(default/index) accessible to anyone from anywhere and the private side(admin/index) accessible to only administrators. I moved the function responsible for authentication from the 'default.py' controller to the 'admin.py' as the public side requires

[web2py] Re: Web3py

2019-05-08 Thread Daniel
El lunes, 6 de mayo de 2019, 19:38:47 (UTC-4), jcrm...@gmail.com escribió: > > My 2c > > You could call it web2py3 with this logic > web2py was web for Python (at the time it was Python 2.x) > web2py3 will the web for Python 3. > > > FWIW, I second this. -- Resources: - http://web2py.com -

Re: [web2py] Re: Poweredby error

2019-03-16 Thread Daniel Guilhermino
Hi Massimo, I just checked and it's working perfectly now! Many thanks, long life and prosper to you and Web2py! Best regards. Daniel Guilhermino Em sexta-feira, 15 de março de 2019 00:50:38 UTC-3, Massimo Di Pierro escreveu: > > I will look into this asap. > > On Monday, 11 Marc

Re: [web2py] Re: Poweredby error

2019-03-11 Thread Daniel Guilhermino
1:27 UTC-3, Kevin Keller escreveu: > > Hey Daniel, > > we need a bit more details to be able to see what is going on. > > We can not see what the ticket text says from the link that you posted. > > Please share the full traceback. > Give us a glimbs what you want to a

[web2py] Re: Poweredby error

2019-03-08 Thread Daniel Guilhermino
Anyone? Em quinta-feira, 28 de fevereiro de 2019 09:42:56 UTC-3, Daniel Guilhermino escreveu: > > Hi, > > I've just tried to submit an new application made with web2py and > integrated with Dialogflow, but the following error was show: > > > Internal errorTic

[web2py] Poweredby error

2019-02-28 Thread Daniel Guilhermino
Hi, I've just tried to submit an new application made with web2py and integrated with Dialogflow, but the following error was show: Internal errorTicket issued: poweredby/191.162.178.30.2019-02-28.12-36-03.22ce450a-64b7-4832-8d08-750e16ce25c2

[web2py] MARKMIN extend with css ".card.bg-warning"

2019-01-10 Thread Daniel Vogel
Hello Is it possible to extend the MARKMIN syntax with two classes? Web2py version 2.17.2 This works: `` This text use css card ``:card Now with two classes, isn't working: `` This text use css card ``:card.bg-warning Rendered as: This text use css card .bg-warning Thanks Daniel

[web2py] MARKMIN embed video or html with size (width=, height=)?

2018-12-11 Thread Daniel Vogel
Hello MARKMIN with auth.wiki: Is it possible to set the "embed:" parameter with width and height? Wiki-Page with: embed:http://www.youtube.com/embed/x1w8hKTJ2Co <http://www.youtube.com/embed/x1w8hKTJ2Co> Thanks, Daniel -- Resources: - http://web2py.com - http://web2py.com/boo

[web2py] Multiprocessing and Web2py Scheduler

2018-10-30 Thread Daniel R.
Hello, I've been working on an application in Web2py for a while now and, for the most part, I've been able to find answers to my questions online. However, I am having trouble now trying to figure out if I can use Python multiprocessing along with the Scheduler in Web2py in the way that I

[web2py] web2py sqlite3 FOREIGN KEY constraint failed

2018-09-02 Thread Melody Daniel
Hi, I have been fighting this error for a longtime, I can't seem to find out where this error is coming from. MY MODEL db.define_table('discussion',Field('title','string',requires = (IS_NOT_EMPTY(),IS_NOT_IN_DB(db,'discussion.title'))), Field('post','text',requires = IS_NOT_EMPTY()),

[web2py] Azure WebApp Deploy Approach

2017-11-30 Thread Daniel Luna
So, i was trying to deploy a web2py server on Azure using this approach: https://groups.google.com/forum/#!topic/web2py/XGxM_Tb9nJ4, but it seems to be not working now, anyone knows another approach, or what is missing to deploy on azure webapp? -- Resources: - http://web2py.com -

[web2py] Re: Error connecting to "Azure database for MySQL"

2017-11-30 Thread Daniel Luna
I Strill trying to connect, idk if my uri string is wrong, or if i did a mistake. Anyway, my string is like this-> mysql://user@db:password@server:3306/db And my DAL is like this -> DAL(myconf.get('db.uri'), pool_size=myconf.get('db.pool_size'), migrate_enabled=myconf.get('db.migrate'),

[web2py] Re: SSL certificate on web2py (aws ec2 + Nginx + uwsgi)

2017-11-19 Thread Daniel Dos Santos Guilhermino
HI Dave, Many thanks, I'll check acme solution too. best regards, Em sexta-feira, 17 de novembro de 2017 22:22:18 UTC-2, Dave S escreveu: > > > > On Friday, November 17, 2017 at 4:16:50 PM UTC-8, Daniel Dos Santos > Guilhermino wrote: >> >> Thanks Dave! >> &

[web2py] Re: SSL certificate on web2py (aws ec2 + Nginx + uwsgi)

2017-11-17 Thread Daniel Dos Santos Guilhermino
Thanks Dave! I'll search about let's encrypt, maybe help me. Best regards. Daniel Guilhermino -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You

[web2py] Re: web2py 2.16.1 is OUT

2017-11-17 Thread Daniel Vogel

[web2py] SSL certificate on web2py (aws ec2 + Nginx + uwsgi)

2017-11-17 Thread Daniel Dos Santos Guilhermino
Hi everybody, I used the script setup-web2py-nginx-uwsgi to install web2py on Amazon ec2, but I want to use the Amazon Certificate Manager for my domains, it's possible? I did all the setup on Amazon... but still doesnt work. *Thanks in advance.* Best regards, Daniel Guilhermino

Re: [web2py] Re: Currency formating

2017-08-28 Thread Daniel Dos Santos Guilhermino
Bruno, It's so old! But helped a lot. Thank you. Any way, news about locale? Best regards, Daniel Guilhermino Em quarta-feira, 25 de agosto de 2010 18:03:54 UTC-3, rochacbruno escreveu: > > I solved using temporarily this: > > def Moeda(valor, formatado=True): > fro

[web2py] Re: web2py 2.15.3 is OUT

2017-08-24 Thread Daniel Vogel
Field('gruppe', requires=IS_IN_SET(['Scout Data','Scout Backup','Scout Manage'],zero=None)), Field('service'), Field('info'), Field('bemerkungen'), ) Any solutions or need I go back with the web2py version? Thanks, Daniel Am Monta

[web2py] Re: Copy & paste images from Wiki page does not work

2017-05-19 Thread Daniel Vogel
no idea where I can start. Thanks, Daniel Am Montag, 15. Mai 2017 16:27:52 UTC+2 schrieb Daniel Vogel: > > Hi > > I like copy from Wiki page (HTML) to LibreOffice Writer. > If I copy text, it works. With images in the Markmin syntax, LibreOffice > Writer can't render the image

[web2py] Re: Copy & paste images from Wiki page does not work

2017-05-16 Thread Daniel Vogel
Controller default: @auth.requires_login() def index(): return auth.wiki(force_render=True) On Monday, May 15, 2017 at 4:27:52 PM UTC+2, Daniel Vogel wrote: > > Hi > > I like copy from Wiki page (HTML) to LibreOffice Writer. > If I copy text, it works. With images in the

[web2py] Re: Copy & paste images from Wiki page does not work

2017-05-16 Thread Daniel Vogel
will display directly. With EDIT PAGE MEDIA the link is managed by the Wiki engine ( @1/test.png). Thanks Am Montag, 15. Mai 2017 16:27:52 UTC+2 schrieb Daniel Vogel: > > Hi > > I like copy from Wiki page (HTML) to LibreOffice Writer. > If I copy text, it works. With images

[web2py] Re: Copy & paste images from Wiki page does not work

2017-05-16 Thread Daniel Vogel
For clarification, the screen shot is from LibreOffie: Am Montag, 15. Mai 2017 16:27:52 UTC+2 schrieb Daniel Vogel: > > Hi > > I like copy from Wiki page (HTML) to LibreOffice Writer. > If I copy text, it works. With images in the Markmin syntax, LibreOffice > Writer can'

[web2py] Re: Copy & paste images from Wiki page does not work

2017-05-16 Thread Daniel Vogel
ge content @1/test.png Image Uploaded with the Wiki function: EDIT PAGE MEDIA Thanks Am Montag, 15. Mai 2017 16:27:52 UTC+2 schrieb Daniel Vogel: > > Hi > > I like copy from Wiki page (HTML) to LibreOffice Writer. > If I copy text, it works. With images in the Markmin synt

[web2py] Copy & paste images from Wiki page does not work

2017-05-15 Thread Daniel Vogel
Hi I like copy from Wiki page (HTML) to LibreOffice Writer. If I copy text, it works. With images in the Markmin syntax, LibreOffice Writer can't render the image with the given URL. The same test with native (no Wiki page) URL's, for example

[web2py] Re: ImportError: No module named

2017-02-20 Thread Daniel Dos Santos Guilhermino
Perfect!! Fix it! Many thanks for your prompt help! Em segunda-feira, 20 de fevereiro de 2017 14:51:44 UTC-3, Leonel Câmara escreveu: > > I think your application name is confusing the custom_importer because > your application is called xml and you are trying to import xml in >

[web2py] ImportError: No module named

2017-02-20 Thread Daniel Dos Santos Guilhermino
Hello Everybody, I have a little problem with my application... I searched on the forum, but I don't see any solution... Follow the error: Traceback (most recent call last): File "C:\web2py\gluon\restricted.py", line 227, in restricted exec ccode in environment File

[web2py] Re: Help with App memory usage

2016-10-14 Thread daniel
On my development environment i am using psycopg2 in production pg8000, and im not using db cache anywhere El viernes, 14 de octubre de 2016, 10:07:43 (UTC-5), Paolo Valleri escribió: > > Which driver are you using for postgres? Are you using cache in models? > Try to figure out if there are

[web2py] Re: Help with App memory usage

2016-10-14 Thread daniel
anthony, thats a good point did not notice that, thanks El jueves, 13 de octubre de 2016, 21:03:20 (UTC-5), Anthony escribió: > > That's a lot of code to review. You're probably going to have to do some > digging and narrow it down for us. I did see one problem, though: > > class

[web2py] Help with App memory usage

2016-10-13 Thread daniel
Hello im an developing an opensource POS (link ) using web2py, everything is fine except that on my development environment and in a production server, my app memory usage grows without limits, it does not crash the server however sometimes i

[web2py] Re: request.now - one day

2016-09-15 Thread Daniel Dos Santos Guilhermino
Helped me a lot! Thank you so much! Em segunda-feira, 19 de janeiro de 2015 14:36:58 UTC-2, Niphlod escreveu: > > slightly incorrect ... > > either > > from datetime import timedelta > yesterday = request.now - timedelta(days=1) > > > or > > > import datetime > yesterday = request.now -

[web2py] Re: Get image from url and save in uploads folder - AttributeError

2016-07-18 Thread Daniel
Hi guys thanks again for your help. So I am using a stream object as outlined in the book, however its throwing 'no such file or directory'. But when I go to the url there is a jpg file attached. I thought it could be because the url does not end with the file extension, however I tried a

[web2py] Get image from url and save in uploads folder - AttributeError

2016-07-17 Thread Daniel
Hi all, I am trying to retrieve a picture from a url and save it in the uploads folder and then reference the file in the auth_user table, however I am getting AttributeError (folder) and I'm not sure why. def save_facebook_image(fbid): if auth.user: import

[web2py] Re: Use a controller with upload and auth.wiki, page is unresponsive

2016-07-06 Thread Daniel Vogel
Hi Anthony Thanks for the hint. If I use a URL instead the component, it should work. I tried with a Link on the wiki page and it works. [[Edit Picture [Edit] @//picture/form_a.html]] Daniel On Saturday, July 2, 2016 at 3:18:33 PM UTC+2, Daniel Vogel wrote: > > Hi > > I use

[web2py] Use a controller with upload and auth.wiki, page is unresponsive

2016-07-02 Thread Daniel Vogel
= SQLFORM.grid(db.picture1) return locals() View picture/manage.load: {{=H3(response.subtitle)}} {{=HR()}} {{=grid}} Wiki Page: @{component:picture/manage.load} Any ideas? Thanks, Daniel -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com

[web2py] Flicker when switching between pages on Web2py apps

2016-05-14 Thread Daniel Libonati
Hi, noob question here... I'm trying to create an admin interface with Web2py, with a navbar on top and / or a sidebar. I'm seeing that even without adding too much logic to the app, screen needs to go blank every time a link is clicked for then reloading all components back again. I've been

[web2py] Re: Dal Field Types

2016-03-13 Thread Daniel Lafrance
Thanks Guys Le jeudi 3 mars 2016 02:23:54 UTC-5, Daniel Lafrance a écrit : > > Hi group > > I am trying to build a db dynamic app but I am stick on the following > problem. > > I am able to get the filenames of a table by the syntax ; > > fields = list(db.resultats.ke

[web2py] Dal Field Types

2016-03-02 Thread Daniel Lafrance
Hi group I am trying to build a db dynamic app but I am stick on the following problem. I am able to get the filenames of a table by the syntax ; fields = list(db.resultats.keys()) But I am unable to find how to get the field types. Is there a special syntax that i could use ? Something

Re: [web2py] Re: PyCharm license for web2py dev - who wants?

2015-10-15 Thread Daniel Aguayo
his group and stop receiving emails from it, send an > email to web2py+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- Daniel Aguayo Catalán @dantoac GNU/Linux User #387337 -- Resources: - http://web2py.com - http://web2py.com/book (Documentation

[web2py] Re: Reverse Proxy problem with grid form (bootstrap 3.x)

2015-10-14 Thread Daniel Vogel
ittwoch, 9. September 2015 04:48:42 UTC+2 schrieb Daniel Vogel: > > Hi, > > I use web2py 2.12.3 with auth.wiki. In development mode, no problem with > HTML rendering. But behind a Apache reverse proxy in need some rules to > change HTML URL's. > > ProxyHTMLEnable

[web2py] orderby with groupby in select

2015-10-05 Thread Daniel
Hi all, I am trying to order messages so that the newest message from each user is displayed. However when grouped by user, the oldest message is displayed despite being ordered by timesent. Its like the groupby argument overrides the orderby. messages = db(db.messages.toid ==

[web2py] Re: Reverse Proxy problem with grid form (bootstrap 3.x)

2015-09-21 Thread Daniel Vogel
. <https://lh3.googleusercontent.com/-ONo-vBf7udE/Vf-fBfucd_I/ADE/woX1ZERn_P4/s1600/Login-field.png> (Login field behind reverse proxy, bootstrap 2.x) Thanks Am Mittwoch, 9. September 2015 04:48:42 UTC+2 schrieb Daniel Vogel: > > Hi, > > I use web2py 2.12.3 with auth.wiki. I

[web2py] Re: auth.wiki search generates error 'exceptions.AttributeError'

2015-09-21 Thread Daniel Vogel
Hi, This issue is new, I used the auth.wiki with older web2py versions, no problems. I updated my auth.wiki to web2py 2.12.3. Now the same problem (xceptions.AttributeError) with search. I think it's a bug. I run web2py locally. Am Montag, 14. September 2015 12:16:47 UTC+2 schrieb A3: > > Hi,

[web2py] Re: Reverse Proxy problem with grid form (bootstrap 3.x)

2015-09-21 Thread Daniel Vogel
. September 2015 14:28:09 UTC+2 schrieb Niphlod: > > web2py can't be blamed if your reverse proxy is not acting as a > passthrough > > On Monday, September 21, 2015 at 8:13:38 AM UTC+2, Daniel Vogel wrote: >> >> Hi, >> >> Some additional information. Wi

[web2py] Reverse Proxy problem with grid form (bootstrap 3.x)

2015-09-08 Thread Daniel Vogel
Hi, I use web2py 2.12.3 with auth.wiki. In development mode, no problem with HTML rendering. But behind a Apache reverse proxy in need some rules to change HTML URL's. ProxyHTMLEnable On ProxyHTMLLinks imgsrc ProxyHTMLLinks ahref Require all granted ProxyPass

[web2py] Re: Query and Manage profiles

2015-07-15 Thread Daniel Dos Santos Guilhermino
Dear Stifan, Thank you for your comment, I will try to follow your suggestion, using SQLFORM.grid (CRUDS). Where are you from, China or Japan? Best regards, On Tuesday, July 14, 2015 at 9:46:15 AM UTC-3, 黄祥 wrote: I would like to deploy the Company to work a form query where employees

Re: [web2py] Re: Query and Manage profiles

2015-07-15 Thread Daniel Dos Santos Guilhermino
, they will be invited to participate. I dont know if I was clear on my explanation, What you think about? Best regards, Daniel - From Brazil! On Tuesday, July 14, 2015 at 10:23:06 AM UTC-3, Richard wrote: I would suggest if you need CRM functionnality that you have a look to the existing open

[web2py] Query and Manage profiles

2015-07-14 Thread Daniel Dos Santos Guilhermino
Good Day people, I have a project and do not know what the best way to start, if anyone can help me , I will be immensely grateful. Let the facts: I would like to deploy the Company to work a form query where employees create requests for certain departments , and these departments must

[web2py] Wiki Menu can use only one nested menu items

2015-05-16 Thread Daniel Vogel
, Daniel -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups web2py-users group

[web2py] Re: Include another file, but do not process it

2015-02-16 Thread Daniel Gonzalez
').read(), escape=False) In the view: {{include_hbs('dashboard.hbs')}} You might also add an option to cache in RAM for some period of time. Anthony On Saturday, February 14, 2015 at 6:42:38 AM UTC-5, Daniel Gonzalez wrote: Hi, This is my use case: I have some web2py

[web2py] Include another file, but do not process it

2015-02-14 Thread Daniel Gonzalez
Hi, This is my use case: I have some web2py templates which are serving some views with embedded handlebar templates, which are intended for processing on the client side: they must arrive untouched to the browser. The problem is that handlebars and web2py have by default the same delimiters:

[web2py] Re: Built-in web2py Wiki, wrong URL with Apache 2.4 mod_proxy

2014-12-07 Thread Daniel Vogel
Regards, Daniel On Friday, November 28, 2014 9:34:00 AM UTC+1, Daniel Vogel wrote: Hi I use the built-in web2py Wiki. It works create without mod_proxy configuration. If I use mod_proxy with Apache I get wrong URL for the uploaded media files (png graphics etc.). My Apache virtual host

[web2py] Re: Built-in web2py Wiki, wrong URL with Apache 2.4 mod_proxy

2014-12-04 Thread Daniel Vogel
are correct: ul class=navli class=web2py-menu-firsta href=/Starprime/default/indexHome/a/lili class=dropdowna ... I'm trying to map the URL with ProxyHTMLURLMap without success. Why use the Wiki Media a absolute URL? Thanks, Daniel On Friday, November 28, 2014 9:34:00 AM UTC+1, Daniel Vogel wrote

[web2py] Re: UPDATED AGENDA! Bay Area web2py meetup (refreshments) -- 12/5/2014, 6:30PM - 9:00PM -- BE THERE!!!

2014-12-03 Thread Daniel Roesler
I would like to attend! Thanks! -Daniel Roesler On Wednesday, November 5, 2014 11:48:14 PM UTC-8, weheh wrote: *Massimo Di Pietro, web2py's originator, will attend our own Bay Area* *web2py meetup* to meet, greet and present. Additional talks by Dexter Hadley, of Stanford University

[web2py] Built-in web2py Wiki, wrong URL with Apache 2.4 mod_proxy

2014-11-28 Thread Daniel Vogel
Hi I use the built-in web2py Wiki. It works create without mod_proxy configuration. If I use mod_proxy with Apache I get wrong URL for the uploaded media files (png graphics etc.). My Apache virtual host file: VirtualHost *:80 ServerAdmin webmas...@myserver.ch ServerName

[web2py] Dal select column sort order

2014-11-28 Thread Daniel Lafrance
Hi I am using a query like ; rows = db(db.v_histo_freins.busid == busid).select() and I am using a function to generate the HTML table. I made this function to serve my look and feel needs and so it would adapt to any kind of rows result. When I run the query and my the function, I get

[web2py] define_table does not create table in database

2014-10-30 Thread Daniel Gonzalez
I am running `define_tables` in the recommended way: db = DAL('postgres://user:@localhost:5432/mydb', migrate_enabled=False, auto_import=False, lazy_tables=True) db.define_table('auth_user', Field('email', unique=True), Field('password', length=512, type='password',

[web2py] Re: define_table does not create table in database

2014-10-30 Thread Daniel Gonzalez
some other code whenever new users are created (not shown here) Why does db.tables show that the table is created, when it is not? (verified with pgadmin) BR, Daniel On Thursday, October 30, 2014 11:49:25 AM UTC+1, Leonel Câmara wrote: Well the tables are lazy, but that shouldn't cause your

[web2py] Re: define_table does not create table in database

2014-10-30 Thread Daniel Gonzalez
One more thing: you mention tables are lazy, but the documentation says they are lazy only whenever DAL(...,lazy_tables=True) is set (DAL documentation http://www.web2py.com/books/default/chapter/29/06/the-database-abstraction-layer#DAL-constructor ) Which one is right? -- Resources: -

[web2py] Re: define_table does not create table in database

2014-10-30 Thread Daniel Gonzalez
of that table, and define the other auth tables. But in my case it seems auth is overwrriting the table defintion. Why can this be? BR, Daniel On Thursday, October 30, 2014 1:04:27 PM UTC+1, Anthony wrote: On Thursday, October 30, 2014 7:41:07 AM UTC-4, Leonel Câmara wrote: Well lazy_tables=True

[web2py] Re: define_table does not create table in database

2014-10-30 Thread Daniel Gonzalez
: make sure that a single db object is used in the models and in any external modules. Thanks for your assistance! Daniel Gonzalez On Thursday, October 30, 2014 4:29:26 PM UTC+1, Daniel Gonzalez wrote: Getting closer to identifying my problem. It seems I am having several problems at once

[web2py] Re: web2py setup scripts for windows

2014-09-07 Thread daniel . jarolim
I have notes on running web2py with IIS because nothing out there, including in recipes works. Specifically these notes are for 64 bit rather than 32 bit and using isapi_wsgi rather than fastcgi. (ISAPI is faster). Here they are pretty much verbatim. It looks messy but is actually very simple,

[web2py] routes.py parameter-based and pattern-based glitch

2014-09-06 Thread daniel . jarolim
I'm getting a URL rewrite glitch. The scenario: web2py running through IIS using wsgi and published as a virtual IIS application called TEST. Therefore the resulting URLs will always need to look like http://localhost/TEST/welcome/... or http://localhost/TEST/admin/... The following routes.py

[web2py] Re: Unclear how to create a unique multiple fields on web2py

2014-06-29 Thread Daniel Lafrance
: db.sometable.b_field.requires = IS_NOT_IN_DB(db(db.sometable.a_field== request.post_vars.a_field),'b_field') form = SQLFORM(db.sometable).process() On Thursday, 26 June 2014 12:32:17 UTC-5, Daniel Lafrance wrote: Hi gang I am quite new to web2py and i am confronted to the following lack of my

[web2py] Unclear how to create a unique multiple fields on web2py

2014-06-26 Thread Daniel Lafrance
databases files created by web2py) and the IS_NOT_IN_DB clause does not seem to work. Any idea of what I am doing wrong ? Regard's Daniel L -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p

Re: [web2py] great news: Sphinx Documentation

2014-04-14 Thread Daniel Aguayo
On 13/04/14 12:43, Massimo Di Pierro wrote: Great news! We are finally moving to Sphinx. http://web2py.readthedocs.org/en/latest/ Kudos to Simone (niphlod) who single handedly ported all the docstrings and made this possible. Thank you Simone! Awesome! This is very useful, Thank you

[web2py] web2py over http?

2014-04-01 Thread Daniel McBrearty
http://mysite.com/myapp/default/index.html work fine. But in practice this does not seem to work. I simply get Bad Request and I have to use https. Do I interpret the docs correctly? Do I miss something? thanks Daniel -- Resources: - http://web2py.com - http://web2py.com/book

[web2py] default values in a form

2014-03-24 Thread Daniel McBrearty
to find this in the documentation. How is it properly done? thanks Daniel -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message

[web2py] Re: test post

2014-03-22 Thread Daniel McBrearty
no problems. Actually I saw that posts were subject to approval and assumed it was awaitng. Then solved the issue myself anyway :-) so maybe google is even scarily smarter than we think ... ! On Thursday, 20 March 2014 10:21:38 UTC+1, Daniel McBrearty wrote: excuse me - my last post seems

[web2py] quick question on auth

2014-03-20 Thread Daniel McBrearty
this? thanks Daniel -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups web2py

[web2py] test post

2014-03-20 Thread Daniel McBrearty
excuse me - my last post seems to have disappeared into the sub-ether waveband ... -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this

[web2py] TclError bad option iconphoto

2013-12-20 Thread Daniel Nogues
Hello, I'm setting up web2py on a Mac OS X 10.5.8 with Python 2.7.2 I have so far done these steps: 1. create VENV with no_site_packages 2. activate VENV 3. run: pip install web2py 4. run: pip install mercurial 5. run: w2p_clone from VENV 6. launch web2py with: python ./web2py/web2py.py At

Re: [web2py] Re: Proposal: create namespaces for translation system

2013-09-23 Thread Daniel Gonzalez Zaballos
The idea is exactly for this. To have separated localized components. I hope that in a few weeks/months we can release something that we are working on components. I cannot say to much now :) 2013/9/23 Massimo Di Pierro massimo.dipie...@gmail.com I was skeptical but I have been convinced this

Re: [web2py] Re: Proposal: create namespaces for translation system

2013-09-02 Thread Daniel Gonzalez Zaballos
Hello Massimo, We'll try to have it at the end of the month. We had applied it to production and is a 1.99.7 version and the trunk version has changed a lot. One question, what do you mean with use . instead of app_name? Regards 2013/9/1 Massimo Di Pierro massimo.dipie...@gmail.com Hello

Re: [web2py] web2py roadmap

2013-07-16 Thread Daniel González
Just add a backslash at the end of the url https://trello.com/b/d3aqBbBl/ El 16/07/13 19:31, Richard Vézina escribió: Blank with chromium!! On Tue, Jul 16, 2013 at 1:13 PM, alokjoshiofaarmax alokjoshiofaar...@gmail.com mailto:alokjoshiofaar...@gmail.com wrote: I too go the blank

[web2py] Catch-all function in controller

2013-06-26 Thread Daniel Gonzalez
it makes no sense for me to be forced to do this again on the controller. How can I define this catch-all function in my api controller? Thanks, Daniel -- --- You received this message because you are subscribed to the Google Groups web2py-users group. To unsubscribe from this group and stop

[web2py] URL for static assets produces wrong value?

2013-05-30 Thread Daniel Gonzalez
like this: URL('static','images/image01.png') And I was expecting a url like: /app1/static/images/image01.png Instead, I am getting: //static/images/image01.png So the application part is skipped. Is this normal? Can I solve this problem somehow? Thanks, Daniel -- --- You received

[web2py] Re: URL for static assets produces wrong value?

2013-05-30 Thread Daniel Gonzalez
= ( ('/admin(?Pany.*)', '\gany'), ('/app1(?Pany.*)', '\gany'), ('/app2/(?Pany.*)', '/\gany'), ) And that works. Sorry again. On Thursday, May 30, 2013 8:12:26 PM UTC+2, Daniel Gonzalez wrote: Hi, I have a strange use case, which is maybe not covered by the router / URL

[web2py] Re: Support for internationalization in web2py wiki

2013-05-29 Thread Daniel Gonzalez
pages for different languages. In your opinion, how should internationalization for wiki pages work? On Tuesday, 28 May 2013 14:35:21 UTC-5, Daniel Gonzalez wrote: Hi, I have started to use the web2py wiki module, but can not find any support for internationalization of the wiki pages

[web2py] Strategies to select the preferred language

2013-05-29 Thread Daniel Gonzalez
this? What are the strategies being used by others offering pages in multiple languages? Thanks, Daniel -- --- You received this message because you are subscribed to the Google Groups web2py-users group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py

[web2py] Re: Strategies to select the preferred language

2013-05-29 Thread Daniel Gonzalez
maggio 2013 09:00:05 UTC+2, Daniel Gonzalez ha scritto: Hi, According to the documentationhttp://web2py.com/books/default/chapter/29/04#Internationalization,-and-Pluralization-with-T, the T operator works based on the Accept-Language setting. In my experience, this is quite cumbersome

  1   2   3   4   >