Django: Ticket Queryhttps://code.djangoproject.com/query?status=!closed&keywords=~logout&order=priority
The Web framework for perfectionists with deadlines.en-USDjangohttps://www.djangoproject.com/s/img/site/hdr_logo.gifhttps://code.djangoproject.com/query?status=!closed&keywords=~logout&order=priority
Trac 1.0.2https://code.djangoproject.com/ticket/12405
https://code.djangoproject.com/ticket/12405#12405: django.contrib.auth.views.logout() should support LOGOUT_REDIRECT_URLSat, 19 Dec 2009 15:06:32 GMTcmwslw<p>
I was wondering why django.contrib.auth.views.logout() doesn't support a REDIRECT_URL override in the settings file as login() does. I'm aware that it is possible to specify a next_page argument, however, this is cumbersome if the urls.py containing logout() is a third party library such as django-registration. I haven't taken a good look at the source, but I am guessing this would be a simple patch to write in order to support LOGOUT_REDIRECT_URL. Before I work on it, I need to know if there are any possible regressions or if there are any opinions against this.
</p>
Resultshttps://code.djangoproject.com/ticket/12405#changelog