1
0
mirror of https://github.com/django/django.git synced 2025-11-07 07:15:35 +00:00

Fixed #28216 -- Added next_page/get_default_redirect_url() to LoginView.

This commit is contained in:
ThinkChaos
2017-06-07 16:48:28 +02:00
committed by Mariusz Felisiak
parent 59841170ba
commit b99d6c9cbc
5 changed files with 67 additions and 6 deletions

View File

@@ -47,6 +47,12 @@ Minor features
* The default iteration count for the PBKDF2 password hasher is increased from
260,000 to 320,000.
* The new
:attr:`LoginView.next_page <django.contrib.auth.views.LoginView.next_page>`
attribute and
:meth:`~django.contrib.auth.views.LoginView.get_default_redirect_url` method
allow customizing the redirect after login.
:mod:`django.contrib.contenttypes`
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~