mirror of
https://github.com/django/django.git
synced 2024-12-27 03:25:58 +00:00
3a6c37fce4
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
|
||
---|---|---|
.. | ||
0.95.txt | ||
0.96.txt | ||
1.0-porting-guide.txt | ||
1.0.1.txt | ||
1.0.2.txt | ||
1.0.txt | ||
1.1.2.txt | ||
1.1.3.txt | ||
1.1.4.txt | ||
1.1.txt | ||
1.2.1.txt | ||
1.2.2.txt | ||
1.2.3.txt | ||
1.2.4.txt | ||
1.2.5.txt | ||
1.2.6.txt | ||
1.2.7.txt | ||
1.2.txt | ||
1.3.1.txt | ||
1.3.2.txt | ||
1.3.3.txt | ||
1.3.4.txt | ||
1.3.5.txt | ||
1.3.6.txt | ||
1.3.7.txt | ||
1.3.txt | ||
1.4.1.txt | ||
1.4.2.txt | ||
1.4.3.txt | ||
1.4.4.txt | ||
1.4.5.txt | ||
1.4.6.txt | ||
1.4.7.txt | ||
1.4.8.txt | ||
1.4.9.txt | ||
1.4.10.txt | ||
1.4.11.txt | ||
1.4.12.txt | ||
1.4.13.txt | ||
1.4.14.txt | ||
1.4.15.txt | ||
1.4.16.txt | ||
1.4.17.txt | ||
1.4.18.txt | ||
1.4.19.txt | ||
1.4.txt | ||
1.5.1.txt | ||
1.5.2.txt | ||
1.5.3.txt | ||
1.5.4.txt | ||
1.5.5.txt | ||
1.5.6.txt | ||
1.5.7.txt | ||
1.5.8.txt | ||
1.5.9.txt | ||
1.5.10.txt | ||
1.5.11.txt | ||
1.5.12.txt | ||
1.5.txt | ||
1.6.1.txt | ||
1.6.2.txt | ||
1.6.3.txt | ||
1.6.4.txt | ||
1.6.5.txt | ||
1.6.6.txt | ||
1.6.7.txt | ||
1.6.8.txt | ||
1.6.9.txt | ||
1.6.10.txt | ||
1.6.txt | ||
1.7.1.txt | ||
1.7.2.txt | ||
1.7.3.txt | ||
1.7.4.txt | ||
1.7.5.txt | ||
1.7.txt | ||
1.8.txt | ||
index.txt | ||
security.txt |