1
0
mirror of https://github.com/django/django.git synced 2025-01-30 20:19:22 +00:00
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 bed504d70bede3431a213203c13a33905d6dbf77 from master
2015-02-20 21:55:50 +07:00
..
2014-02-28 21:03:46 -05:00
2014-11-03 07:47:39 -05:00
2013-10-10 16:49:20 -04:00
2012-08-31 20:35:50 +02:00
2014-02-25 10:28:32 -05:00
2014-12-19 18:07:52 +01:00
2012-08-31 20:35:50 +02:00
2014-02-25 10:28:32 -05:00
2013-09-10 21:07:22 -04:00
2013-09-15 14:14:26 -04:00
2013-11-07 09:42:25 -05:00
2014-11-03 07:47:39 -05:00
2014-12-19 18:07:52 +01:00
2014-08-20 16:31:45 -04:00
2014-12-19 18:07:52 +01:00
2014-12-19 18:07:52 +01:00
2015-01-02 19:20:18 -05:00
2015-01-27 11:48:27 -05:00
2013-09-10 21:07:22 -04:00
2013-09-15 14:14:26 -04:00
2013-11-09 10:17:17 -05:00
2014-11-03 07:47:39 -05:00
2014-12-19 18:07:52 +01:00
2014-08-20 16:31:45 -04:00
2014-12-19 18:07:52 +01:00
2014-12-19 18:07:52 +01:00
2015-01-02 19:20:18 -05:00
2014-12-19 18:07:52 +01:00
2014-12-19 18:07:52 +01:00
2014-12-19 18:07:52 +01:00
2014-08-20 16:31:45 -04:00
2014-09-02 21:34:29 -04:00
2015-01-02 19:20:18 -05:00
2014-12-28 17:02:30 +01:00
2015-01-02 19:20:18 -05:00
2015-01-27 11:48:27 -05:00