1
0
mirror of https://github.com/django/django.git synced 2025-03-09 17:02:43 +00:00
Loic Bistuer bed504d70b 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.
2015-02-20 21:34:09 +07:00
..
2014-02-28 21:03:46 -05:00
2014-02-25 10:28:32 -05:00
2014-02-25 10:28:32 -05:00
2015-02-20 09:21:39 -05:00
2014-12-19 18:07:52 +01:00
2015-02-20 09:21:39 -05: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-02-20 09:21:39 -05:00
2015-01-27 11:48:04 -05:00
2015-02-15 20:47:04 +01:00
2015-02-20 09:21:39 -05:00
2014-12-19 18:07:52 +01:00
2015-02-20 09:21:39 -05: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
2015-02-20 09:21:39 -05: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
2015-02-20 09:21:39 -05:00
2015-01-02 19:20:18 -05:00
2015-02-20 09:21:39 -05:00
2015-01-27 11:48:04 -05:00
2015-02-15 20:47:04 +01:00
2015-01-28 06:38:31 -05:00