1
0
mirror of https://github.com/django/django.git synced 2024-12-27 19:46:22 +00:00
django/docs/topics
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
..
auth Removed doc note about PasswordResetForm requiring an integer PK. 2015-01-01 11:38:53 -05:00
class-based-views Deprecated TEMPLATE_LOADERS. 2014-12-28 17:02:30 +01:00
db [1.8.x] Fixed #24351, #24346 -- Changed the signature of allow_migrate(). 2015-02-20 21:55:50 +07:00
forms [1.8.x] Fixed #24255 -- Specifed 'fields' parameter in modelformset_factory / inlineformset_factory examples. 2015-02-02 10:47:42 -05:00
http [1.8.x] Fixed #24168 -- Allowed selecting a template engine in a few APIs. 2015-02-03 08:32:14 +01:00
i18n [1.8.x] Removed inaccurate sentence about PO files in translation docs. 2015-02-06 07:46:14 -05:00
testing [1.8.x] Added an import to docs/topics/testing/advanced.txt example. 2015-02-17 13:53:57 -05:00
cache.txt [1.8.x] Fixed #24351, #24346 -- Changed the signature of allow_migrate(). 2015-02-20 21:55:50 +07:00
checks.txt Fixed #23959 -- Clarified when checks automatically run. 2014-12-22 11:35:19 -05:00
conditional-view-processing.txt Fixed #22461 -- Added if-unmodified-since support to the condition decorator. 2014-12-24 12:33:57 -05:00
email.txt Fixed #23910 -- Added reply_to parameter to EmailMessage 2014-11-28 06:00:06 -05:00
files.txt Used https for most *.python.org links 2014-12-19 18:07:52 +01:00
index.txt Added first cut at reference documentation for the checks framework. 2014-03-03 18:56:11 +08:00
install.txt [1.8.x] Fixed #24350 -- Freshened up database install topic section. 2015-02-16 14:59:57 -05:00
localflavor.txt Fixed #20774 -- Mention the new django-localflavor app as a replacement for the contrib app. 2013-07-29 10:54:53 +02:00
logging.txt Fixed #24118 -- Added --debug-sql option for tests. 2015-01-12 08:16:08 +00:00
migrations.txt [1.8.x] Fixed #23892 -- Clarified compatibility policy for migrations. 2015-02-16 10:12:13 -05:00
pagination.txt Use "catch" instead of "trap" for exceptions. 2014-09-08 22:23:44 +02:00
performance.txt Updated some other external links in the docs 2014-12-19 18:07:52 +01:00
python3.txt Updated six to 1.9.0. 2015-01-02 12:35:41 -05:00
security.txt Fixed #23561 -- Corrected a security doc example that requires an unquoted HTML attribute. 2014-09-26 11:07:55 -06:00
serialization.txt Used https for most *.python.org links 2014-12-19 18:07:52 +01:00
settings.txt [1.8.x] Deprecated TEMPLATE_DEBUG setting. 2015-02-15 20:48:48 +01:00
signals.txt Added return value to Signal.disconnect(). 2015-01-02 12:00:41 -05:00
signing.txt Fixed #21363 -- Added datetime.timedelta support to TimestampSigner.unsign(). 2014-11-15 19:36:33 +01:00
templates.txt [1.8.x] Deprecated TEMPLATE_DEBUG setting. 2015-02-15 20:48:48 +01:00