django1/django/contrib/auth
Loic Bistuer 3a6c37fce4 [1.8.x] Fixed #24351, #24346 -- Changed the signature of allow_migrate().
The new signature enables better support for routing RunPython and
RunSQL operations, especially w.r.t. reusable and third-party apps.

This commit also takes advantage of the deprecation cycle for the old
signature to remove the backward incompatibility introduced in #22583;
RunPython and RunSQL won't call allow_migrate() when when the router
has the old signature.

Thanks Aymeric Augustin and Tim Graham for helping shape up the patch.

Refs 22583.

Conflicts:
	django/db/utils.py

Backport of bed504d70b from master
2015-02-20 21:55:50 +07:00
..
handlers [1.8.x] Sorted imports with isort; refs #23860. 2015-02-09 14:24:06 -05:00
locale [1.8.x] Updated en translation catalogs 2015-01-17 11:18:45 +01:00
management [1.8.x] Fixed #24351, #24346 -- Changed the signature of allow_migrate(). 2015-02-20 21:55:50 +07:00
migrations [1.8.x] Fixed #24299 -- Added an auth migration to ensure contenttypes is migrated. 2015-02-16 14:55:24 -05:00
templates/registration Fixed #12202 -- Removed hardcoded password reset subject and added a subject_template_name parameter to the password_reset view. Thanks, Ramiro Morales, Claude Paroz and agabel. 2011-06-19 11:24:39 +00:00
tests [1.8.x] Moved non-documented auth test models to the new test location. 2015-02-11 12:03:03 -05:00
__init__.py [1.8.x] Fixed #24161 -- Stored the user primary key as a serialized value in the session. 2015-02-12 07:40:14 -05:00
admin.py [1.8.x] Fixed #24334 -- Allowed admin password reset to work with non-digit custom user model primary key. 2015-02-13 09:50:55 -05:00
apps.py [1.8.x] Sorted imports with isort; refs #23860. 2015-02-09 14:24:06 -05:00
backends.py [1.8.x] Sorted imports with isort; refs #23860. 2015-02-09 14:24:06 -05:00
checks.py Edited contrib.auth check messages for grammar and consistency. 2014-03-03 13:39:58 +08:00
context_processors.py Started attackign the next flake8 violation 2013-10-31 08:42:28 -07:00
decorators.py [1.8.x] Sorted imports with isort; refs #23860. 2015-02-09 14:24:06 -05:00
forms.py [1.8.x] Sorted imports with isort; refs #23860. 2015-02-09 14:24:06 -05:00
hashers.py [1.8.x] Sorted imports with isort; refs #23860. 2015-02-09 14:24:06 -05:00
middleware.py Fixed #23939 -- Moved session verification out of SessionAuthenticationMiddleware. 2014-12-03 13:11:47 -05:00
models.py [1.8.x] Sorted imports with isort; refs #23860. 2015-02-09 14:24:06 -05:00
signals.py Fixed #18616 -- added user_login_fail signal to contrib.auth 2012-09-30 22:34:50 -07:00
tokens.py [1.8.x] Sorted imports with isort; refs #23860. 2015-02-09 14:24:06 -05:00
urls.py Fixed #22218 -- Deprecated django.conf.urls.patterns. 2014-04-03 07:28:10 -04:00
views.py [1.8.x] Fixed #24315 -- Fixed auth.views.password_reset_confirm() with a UUID user. 2015-02-13 09:57:44 -05:00