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 Sunday, 17 February 2013 07:34:11 UTC-8, Alec Taylor wrote: > > I am trying to replace these views with custom ones I've created. > > So I have a folder called "user" with a "login.html" and a > "register.html". > > Putting this "user" folder in web2py/<appname>/views does not make the > system use these views. Moving them to the > web2py/<appname>/views/default folder also has no affect. > > How do I use custom views for my auth.* stuff in web2py? (e.g.: so > @auth.requires_login() redirects to the modified views) > > Thanks for all suggestions, > > Alec Taylor > -- --- 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 [email protected]. For more options, visit https://groups.google.com/groups/opt_out.

