[web2py] Re: Web3py

2019-06-01 Thread 黄祥
agree, flexible is no policy, long story short what i mean is, can user define templates on it's own path in the app ? *e.g. * *apps/_scaffold/settings.py* TMPLTS_FOLDER = os.path.join(APP_FOLDER, 'views') btw, no worries, it's fine test latest commit (142), error traceback about database folder

Re: [web2py] Re: submitting a form from a LOAD component - request.post_vars is empty

2019-06-01 Thread Eliezer (Vlad) Tseytkin
got it, thank you very much ! On Sat, Jun 1, 2019 at 11:20 AM Anthony wrote: > In order for web2py to submit forms inside LOAD components via Ajax, it > must set up its own event handler to "trap" the form submission, so it can > be intercepted -- this is done here: > https://github.com/web2py/w

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

2019-06-01 Thread Carlos Cesar Caballero
Good to know!! Slack deleted accounts and blocked the access from Cuba some months ago... Greetings El sábado, 1 de junio de 2019, 0:48:23 (UTC-4), Massimo Di Pierro escribió: > > we will not. Google groups has served us well. We will eventually create > another group but not today. ;-) > > On

[web2py] Re: Web3py

2019-06-01 Thread Massimo Di Pierro
You can already has subfolders in the templates folder. When you specify a template file, you would specify the path relative to the templates folder. You could also make a decorator at the app level that automatically finds the appropriate template based on the filename and the function name. Bu

[web2py] route 53 or Dns record

2019-06-01 Thread karthikeyan p
i have two users -> *ONE *and *TWO* www.example.com/welcome/default/index/*ONE => *if i poster args ONE ,it will show user ONE's page www.example.com/welcome/default/index/*TWO **=> *if i poster args TWO,it will show user TWO's page i want to do : one.example.com *=> *to show user ONE's page

[web2py] Re: Web3py

2019-06-01 Thread 黄祥
is it possible to have flexible folders pattern for templates and translations folders ? *e.g.* mkdir apps/_scaffold/controllers mkdir apps/_scaffold/models mv apps/_scaffold/controllers.py apps/_scaffold/controllers/default.py mv apps/_scaffold/models.py apps/_scaffold/models/db.py then adjust s

[web2py] Re: submitting a form from a LOAD component - request.post_vars is empty

2019-06-01 Thread Anthony
In order for web2py to submit forms inside LOAD components via Ajax, it must set up its own event handler to "trap" the form submission, so it can be intercepted -- this is done here: https://github.com/web2py/web2py/blob/master/applications/welcome/static/js/web2py.js#L307 . If you don't want

[web2py] Re: python 3 / web2py 2.18.5 - Sequence of bytes expected error

2019-06-01 Thread Sundar
Ignore this. I am unable to reproduce it for now. = On Thursday, May 30, 2019 at 2:36:50 PM UTC+5:30, Sundar wrote: > > When I try to run the above version under Apache (2.4), welcome app screen > comes. When I click on 'Admin' button, an error message is displayed.

Re: [web2py] Re: setting up pscycopg2

2019-06-01 Thread Nico Zanferrari
Hi Dave, I've faced the same problem trying to add psycopg2 on MacOs binaries with python 2.7. Following some advices, I've resolved it by installing unixodbc (with brew) before it. I hope it helps, Nico Il giorno sab 1 giu 2019 alle ore 00:09 Dave S ha scritto: > Help! > > /dps > > On Thursd