Fixed #28229 -- Fixed the value of LoginView's "next" template variable.

This commit is contained in:
Mikhail Golubev 2017-05-22 14:52:56 -07:00 committed by Tim Graham
parent a118287bca
commit e7dc39fb65
3 changed files with 13 additions and 5 deletions

View file

@ -35,3 +35,8 @@ Bugfixes
* Prevented ``Paginator``s unordered object list warning from evaluating a
``QuerySet`` (:ticket:`28284`).
* Fixed the value of ``redirect_field_name`` in ``LoginView``s template
context. It's now an empty string (as it is for the original function-based
``login()`` view) if the corresponding parameter isn't sent in a request (in
particular, when the login page is accessed directly) (:ticket:`28229`).