google-code-export / django-hotclub

Automatically exported from code.google.com/p/django-hotclub
MIT License
0 stars 0 forks source link

support logout redirect in settings.py #111

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I had a request from a site developer who wanted to redirect to a
particular page on logout without having to hardcode in apps.

To facilitate this, I propose we move the logout view into our account app
and have it support an optional setting (we can then also support named url
confs as well as explicit URLs).

Having our own view would also let us provide POST-only logout rather than
the current GET-logs-you-out approach.

Original issue reported on code.google.com by jtau...@gmail.com on 10 Nov 2008 at 5:02

GoogleCodeExporter commented 9 years ago
Attached is a hand tested implementation for this requested capability.

Original comment by rockmhow...@gmail.com on 13 Jan 2009 at 4:54

Attachments:

GoogleCodeExporter commented 9 years ago
I like that approach and wonder if the account rewrite has something like that.

Original comment by leidel on 1 Mar 2009 at 1:01

GoogleCodeExporter commented 9 years ago

Original comment by pyDanny on 13 Mar 2009 at 4:00

GoogleCodeExporter commented 9 years ago

Original comment by leidel on 13 Mar 2009 at 9:06