On Sep 28, 2011, at 9:31 PM, Bruno Rocha wrote:
> Ok, now I got it to work with this:
>
> routers = dict(
> # base router
> BASE = dict(
> default_application = 'pytalks',
> default_controller = 'default',
> controllers=['appadmin','default'],
> applications=['pytalks','admin'],
> ),
> )
>
> Thank you
>
Good. controllers=DEFAULT ought to work, too. But that (and
default_controller='default') are already the system defaults.
So:
routers = dict(
# base router
BASE = dict(
default_application = 'pytalks',
applications=['pytalks','admin'],
),
)
...is the equivalent, and if pytalks and admin are the only applications
installed, you can leave out that line as well.
Not that it does any harm to be explicit about it.