Thanks
On Mon, Feb 18, 2013 at 3:49 AM, Anthony wrote:
> By default, web2py looks for a view with the same name as the associated
> function in a folder with the same name as the associated controller. In the
> scaffolding app, auth actions are handled by the user() function in the
> default.py c
By default, web2py looks for a view with the same name as the associated
function in a folder with the same name as the associated controller. In
the scaffolding app, auth actions are handled by the user() function in the
default.py controller, so it will automatically use the
/views/default/us
The controller and function map to a view file so controller default and
function user have used up those 2 levels of default view file definition.
You could set response.view = "path to html" in the user function of the
default controller depending on arg(0) being login or register.
Ron
On S
3 matches
Mail list logo