Hi all,
I'm having a problem getting the logout redirect stuff working.
Regardless of what I pass as the "next" parameter of the logout URL,
after sending a user to that logout URL he ends up redirected to an
Admin-site looking page, with a title of "Logged out | Django site
admin", and the text "Thanks for spending some quality time with the
web site today." - notably NOT the URL to which I was trying to send
the user.
For example, clicking on:
<a href="/accounts/logout/?next_page=/stuff/list">Logout?</a>
...goes through the following urlpattern:
(r'^accounts/logout/$', logout),
...and then deposits the user at:
http://127.0.0.1:8000/accounts/logout/?next_page=/stuff/list
...which is the aforementioned Django-admin page.
Any ideas as to what I may be doing wrong? I'm running Django 0.96, a
quick google search didn't show anyone else having the same problems
as me so I *must* be doing *something* screwy...
Thanks in advance,
--- Mark ---