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

Fix #20447: URL names given to contrib.auth.views are now resolved.

This commit also adds tests for the redirect feature of most auth views.
It also cleans up the tests, most notably using @override_settings instead
of ad-hoc setUp/tearDown methods.

Thanks to caumons for the report.

Conflicts:
	docs/releases/1.6.txt
This commit is contained in:
Baptiste Mispelon
2013-05-19 12:57:06 +02:00
committed by Marc Tamlyn
parent 9b22baddef
commit 980ae2ab29
4 changed files with 180 additions and 60 deletions

View File

@@ -243,6 +243,12 @@ Minor features
* The reason phrase can be customized in HTTP responses.
* When giving the URL of the next page for :func:`~django.contrib.auth.views.logout`,
:func:`~django.contrib.auth.views.password_reset`,
:func:`~django.contrib.auth.views.password_reset_confirm`,
and :func:`~django.contrib.auth.views.password_change`, you can now pass
URL names and they will be resolved.
Backwards incompatible changes in 1.6
=====================================