quote from official docs about logout_then_login view: "login_url: The
URL of the login page to redirect to. This will default to
settings.LOGIN_URL if not supplied"
How to supply alternative login_url?

I add logout url to urls.py:
 url(r'^accounts/logout/
$','django.contrib.auth.views.logout_then_login',name='logout'),

Then I'd like to redirect user to my custom page after logout succeed,
how could I do that?
{% url logout login_url="/my/custom/path" %} doesn't do the job, I
catch error in reverse function.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to