diff options
| author | Hugo Osvaldo Barrera <hugo@barrera.io> | 2015-08-26 03:07:06 -0300 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2016-02-04 10:35:37 -0500 |
| commit | dcee1dfc798bbf4602a35fb73f6acade9f5fd630 (patch) | |
| tree | 3136c20778dc4a06f399bc8af6097f3639510c83 /docs/releases | |
| parent | ad216381fcd7d3d62f1639f9998f5a965d8eaedb (diff) | |
Fixed #12405 -- Added LOGOUT_REDIRECT_URL setting.
After a user logs out via auth.views.logout(), they're redirected
to LOGOUT_REDIRECT_URL if no `next_page` argument is provided.
Diffstat (limited to 'docs/releases')
| -rw-r--r-- | docs/releases/1.10.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/releases/1.10.txt b/docs/releases/1.10.txt index 92f7c1d8e6..7329a6717d 100644 --- a/docs/releases/1.10.txt +++ b/docs/releases/1.10.txt @@ -82,6 +82,10 @@ Minor features * Added the optional ``backend`` argument to :func:`~django.contrib.auth.login` to allow using it without credentials. +* The new :setting:`LOGOUT_REDIRECT_URL` setting controls the redirect of the + :func:`~django.contrib.auth.views.logout` view, if the view doesn't get a + ``next_page`` argument. + :mod:`django.contrib.contenttypes` ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
