1
0
mirror of https://github.com/django/django.git synced 2024-12-30 21:16:26 +00:00
django/docs/topics/db
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
..
examples Removed unnecessary code-block directives. 2014-08-19 16:44:25 -04:00
aggregation.txt Fixed typo in aggregation docs link. 2014-12-03 20:07:40 -05:00
index.txt
managers.txt Fixed #23597 -- Clarified the manager that {Single,Multiple}ObjectMixin.model uses. 2014-10-06 08:23:42 -04:00
models.txt Fixed #24041 -- Documented effect of changing a model instance's primary key. 2014-12-24 15:06:09 -05:00
multi-db.txt [1.8.x] Fixed #24351, #24346 -- Changed the signature of allow_migrate(). 2015-02-20 21:55:50 +07:00
optimization.txt
queries.txt Used https for most *.python.org links 2014-12-19 18:07:52 +01:00
sql.txt Used https for most *.python.org links 2014-12-19 18:07:52 +01:00
tablespaces.txt
transactions.txt Correct scoping of savepoint example 2014-12-20 12:02:26 -08:00