auth.settings.controller = 'admin' auth.settings.login_url = URL(r=request, c='admin/user', f='login') auth.settings.logged_url = URL(r=request, c='admin/user', f='profile') auth.settings.login_next = URL(r=request, c='admin', f='index') auth.settings.logout_next = URL(r=request, c='admin', f='index') auth.settings.register_next = URL(r=request, c='admin', f='index') auth.settings.verify_email_next = URL(r=request, c='admin', f='index') auth.settings.profile_next = URL(r=request, c='admin', f='index') auth.settings.retrieve_username_next = URL(r=request, c='admin', f='index') auth.settings.retrieve_password_next = URL(r=request, c='admin', f='index') auth.settings.change_password_next = URL(r=request, c='admin', f='index')
-Thadeus On Mon, Jan 11, 2010 at 8:54 PM, rama <ranjeev...@gmail.com> wrote: > I wanted to change the default controller name. So I deleted it and > transferred all its contents to another controller called main. While > the links for main exposes links to index, user, download, call > correctly (checked the page source, says main/user/). When I click on > user it goes to the deleted controller default/user/index. The other > three links work correctly, a redirect is being made when the view is > not specified in the function called user. > > Fyi, I have created appropriate views as per the defaults and I have > not changed anything besides the file names. > > Is this typical behaviour and that we should not delete the default > controller? > > -- > You received this message because you are subscribed to the Google Groups > "web2py-users" group. > To post to this group, send email to web...@googlegroups.com. > To unsubscribe from this group, send email to > web2py+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/web2py?hl=en. > > > >
-- You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web...@googlegroups.com. To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/web2py?hl=en.