It looks pretty straightforward base on the online book

Default application, controller, and function
default_application
default_controller
default_function

When using the pattern-based system, the name of the default application, 
controller, and function can be changed from *init*, *default*, and 
*index*respectively 
to another name by setting the appropriate value in routes.py:

default_application = "myapp"
default_controller = "admin"
default_function = "start"

And this is mode code (I added these lines to routes.py of 'my application')

*default_application = "myapplication"       **default_controller = 
"mycontroller"**default_function = "home" **BASE =''**routers = {**    BASE: 
dict(**        default_application = "**myapplication**",       **        
default_controller = "**mycontroller**",**        default_function = "home",    
            **                ),       **}*
*
*
*But it does't work at all. Something I am missing?*
*
*
*Thanks*



-- 

--- 
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.


Reply via email to