1
0
mirror of https://github.com/django/django.git synced 2024-12-27 19:46:22 +00:00
django/docs/howto
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
..
deployment Deprecated TEMPLATE_LOADERS. 2014-12-28 17:02:30 +01:00
static-files Fixed #23637 -- Removed TUX, lighttpd, and Cherokee as common. 2014-10-15 08:28:27 -04:00
auth-remote-user.txt Stripped headers containing underscores to prevent spoofing in WSGI environ. 2015-01-13 13:03:05 -05:00
custom-file-storage.txt Fixed #9893 -- Allowed using a field's max_length in the Storage. 2015-01-12 09:09:18 -05:00
custom-lookups.txt Fixed #24057 -- Fixed typo in docs/howto/custom-lookups.txt. 2014-12-27 19:38:24 -05:00
custom-management-commands.txt [1.8.x] Standardized indentation in docs/howto/custom-management-commands.txt. 2015-01-17 13:27:59 -05:00
custom-model-fields.txt [1.8.x] Update converters to take a consistent set of parameters. 2015-02-20 11:47:48 +00:00
custom-template-tags.txt [1.8.x] Set context.template instead of context.engine while rendering. 2015-02-19 22:10:56 +01:00
error-reporting.txt Converted seealso directives to use 4 space indendation. 2014-10-30 14:45:16 -04:00
index.txt [1.8.x] Added a "Writing migrations" how-to. 2015-02-03 13:46:56 -05:00
initial-data.txt Revert "Updated some docs for the delayed deprecation of legacy table creation; refs #22340." 2014-12-30 11:50:50 -05:00
jython.txt Fixed #23257 -- Updated docs for new django-jython release. 2014-08-08 12:31:56 -04:00
legacy-databases.txt Fixed #22322 -- Fixed incorrect explanation of what managed=False does. 2014-03-25 14:01:37 -04:00
outputting-csv.txt Used https for most *.python.org links 2014-12-19 18:07:52 +01:00
outputting-pdf.txt Updated some other external links in the docs 2014-12-19 18:07:52 +01:00
upgrade-version.txt Unified listing of shell commands/code 2013-12-25 15:19:14 -05:00
windows.txt Used https for most *.python.org links 2014-12-19 18:07:52 +01:00
writing-migrations.txt [1.8.x] Fixed #24351, #24346 -- Changed the signature of allow_migrate(). 2015-02-20 21:55:50 +07:00