django1/django
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
..
apps [1.8.x] Sorted imports with isort; refs #23860. 2015-02-09 14:24:06 -05:00
bin [1.8.x] Removed django-2to3.py 2015-02-06 08:56:01 -05:00
conf [1.8.x] Deprecated TEMPLATE_DEBUG setting. 2015-02-15 20:48:48 +01:00
contrib [1.8.x] Fixed #24351, #24346 -- Changed the signature of allow_migrate(). 2015-02-20 21:55:50 +07:00
core [1.8.x] Fixed #24351, #24346 -- Changed the signature of allow_migrate(). 2015-02-20 21:55:50 +07:00
db [1.8.x] Fixed #24351, #24346 -- Changed the signature of allow_migrate(). 2015-02-20 21:55:50 +07:00
dispatch [1.8.x] Sorted imports with isort; refs #23860. 2015-02-09 14:24:06 -05:00
forms [1.8.x] Added missing return value to DurationField.prepare_value(); refs #24339. 2015-02-14 18:39:17 -05:00
http [1.8.x] Fixed #20889 -- Prevented BadHeaderError when Python inserts newline 2015-02-19 20:19:38 +01:00
middleware [1.8.x] Sorted imports with isort; refs #23860. 2015-02-09 14:24:06 -05:00
template [1.8.x] Set context.template instead of context.engine while rendering. 2015-02-19 22:10:56 +01:00
templatetags [1.8.x] Set context.template instead of context.engine while rendering. 2015-02-19 22:10:56 +01:00
test [1.8.x] Deprecated TEMPLATE_DEBUG setting. 2015-02-15 20:48:48 +01:00
utils [1.8.x] Refs #24324 -- Fixed UnicodeDecodeError in template_backends tests 2015-02-17 18:45:07 -05:00
views [1.8.x] Fixed a crash of the debug page. 2015-02-10 19:07:07 -05:00
__init__.py Bumped version to 1.8 alpha 1. 2015-01-16 17:06:32 -05:00
shortcuts.py [1.8.x] Sorted imports with isort; refs #23860. 2015-02-09 14:24:06 -05:00