Re: [web2py] Invalid view even created it before

2016-04-25 Thread Morganti
No! I saved the view in the .../view folder, no I moved it to .../view/default Thanks a lot your support! Best regards Morganti Em segunda-feira, 25 de abril de 2016 09:08:34 UTC-3, Anthony escreveu: > > And the path to the view is /views/default/novo_cliente.html? > > On Monday, April 25, 2016

Re: [web2py] Invalid view even created it before

2016-04-25 Thread Anthony
And the path to the view is /views/default/novo_cliente.html? On Monday, April 25, 2016 at 6:32:43 AM UTC-4, Morganti wrote: > > Hi, thanks your answer. > > I had created the controller inside default.py, see below: > def novo_cliente(): > db.cliente.salao.default = auth.user.id > db.clien

Re: [web2py] Invalid view even created it before

2016-04-25 Thread Morganti
Hi, thanks your answer. I had created the controller inside default.py, see below: def novo_cliente(): db.cliente.salao.default = auth.user.id db.cliente.salao.writable = db.cliente.salao.readable = False form = SQLFORM(db.cliente) if form.process().accepted: response.flash

Re: [web2py] Invalid view even created it before

2016-04-25 Thread Johann Spies
Hallo André On 25 April 2016 at 11:49, Morganti wrote: > Hello, > > I am started to learn web2py some weeks ago. After created some > controllers and models using the generic view. I tried to deploy to > PythonAnywhere to test it and, of course, I know or use disable generic > only localhost or

[web2py] Invalid view even created it before

2016-04-25 Thread Morganti
Hello, I am started to learn web2py some weeks ago. After created some controllers and models using the generic view. I tried to deploy to PythonAnywhere to test it and, of course, I know or use disable generic only localhost or create the specific views. First I tried to disable the localhost