I understand that now about not mixing routing.

OK I am using routes.example.py

default_application = 'my_app'    # ordinarily set in base routes.py
default_controller = 'default'     # ordinarily set in app-specific 
routes.py
default_function = 'index'         # ordinarily set in app-specific 
routes.py

routes_app = ((r'/(?P<app>welcome|admin|app)\b.*', r'\g<app>'),
              (r'(.*)', r'my_app'),
              (r'/?(.*)', r'my_app'))

I see I can get rid of the my_app but how to get rid from default?

and when addressing the new rules what URL I have to use
URL('default','user') or URL('user')?

    
 
{{try:}}{{=current.app.auth.navbar(action=URL('default','user'))}}{{except:pass}}


Reply via email to