1
0
mirror of https://github.com/django/django.git synced 2024-12-27 03:25:58 +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 Fixed #17605: Restored deleted query documentation that used to live in doctests. Thanks zsiciarz for work on the patch. 2012-03-14 22:16:46 +00:00
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 Fixed #21986 -- Added some guidelines for database indexes. 2014-03-03 11:16:41 -05:00
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 Fixed #20852 - Fixed incorrectly generated left quotes in docs. 2013-08-06 07:13:17 -04:00
transactions.txt Correct scoping of savepoint example 2014-12-20 12:02:26 -08:00