Hi,
I guess it's not possible to set the default application in the settings
for a specific application. You should set it for BASE as shown in the
documentation example
routers = dict(
BASE = dict(default_application='form'),
)
Alex
Am Freitag, 24. Januar 2014 09:28:43 UTC+1 schrieb Laxmikant Metri:
>
> Hi,
> I created form application in web2py I wanted to make it as default.
> but I renamed routes.example.py in form folder into routes.py and done
> chages like this
> routers = {
> app: dict(
> default_language = possible_languages['default'][0],
> languages = [lang for lang in possible_languages
> if lang != 'default'],
> defaultapplication='form'
> )
> }
>
> and I have also created routes.py in web2py folder(web2py/routes.py) but
> still I didn't get the form as default it showing only welcome message
> please hell me
>
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
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.