django1/django/core/management/commands
Loic Bistuer bed504d70b 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.
2015-02-20 21:34:09 +07:00
..
__init__.py Major refactoring of django.core.management -- it's now a package rather than a 1730-line single module. All django-admin/manage.py commands are now stored in separate modules. This is backwards-incompatible for people who used django.core.management functions directly 2007-08-16 06:06:55 +00:00
check.py Fixed #17101 -- Integrated django-secure and added check --deploy option 2014-09-12 15:05:23 -04:00
compilemessages.py Fixed #23968 -- Replaced list comprehension with generators and dict comprehension 2014-12-08 07:58:23 -05:00
createcachetable.py Fixed #24351, #24346 -- Changed the signature of allow_migrate(). 2015-02-20 21:34:09 +07:00
dbshell.py Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
diffsettings.py Fixed #23968 -- Replaced list comprehension with generators and dict comprehension 2014-12-08 07:58:23 -05:00
dumpdata.py Fixed #24351, #24346 -- Changed the signature of allow_migrate(). 2015-02-20 21:34:09 +07:00
flush.py Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
inspectdb.py Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
loaddata.py Fixed #24351, #24346 -- Changed the signature of allow_migrate(). 2015-02-20 21:34:09 +07:00
makemessages.py Refs #24324 -- Fixed makemessages crash when Django is installed in a non-ASCII path. 2015-02-17 08:06:33 -05:00
makemigrations.py Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
migrate.py Fixed #24184 -- Prevented automatic soft-apply of migrations 2015-02-13 14:29:59 +01:00
runserver.py Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
shell.py Fixed #22835 -- Deprecated NoArgsCommand. 2014-06-19 08:54:59 -04:00
showmigrations.py Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
sqlflush.py Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
sqlmigrate.py Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
sqlsequencereset.py Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
squashmigrations.py Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
startapp.py Converted remaining management commands to argparse 2014-06-14 13:43:44 +02:00
startproject.py Converted remaining management commands to argparse 2014-06-14 13:43:44 +02:00
test.py Sorted imports with isort; refs #23860. 2015-02-06 08:16:28 -05:00
testserver.py Limited lines to 119 characters in django/ 2014-09-05 09:22:16 -04:00