On Jun 14, 6:25 pm, pbreit <[email protected]> wrote:
> You can set default_controller and default_function in routes.py but that
> changes it for your whole app.

Yes, I have index as the default function but for a specific
controller I want it to be a different default function.

> But why change this? I always advise not changing this. One thing you could
> do instead is:
>
> def index():
>     redirect('other_controller', 'other_function')

That solution doesn't work for me because I have some arguments.
Is there another way? I use the new routers function on routes.py

Reply via email to