From 75bbcfa332397a39e95bb267100cd1524314105c Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Fri, 26 Dec 2014 18:23:00 -0500 Subject: Replaced sqlall in some bash_completion/admin_scripts tests. sqlall will be removed in Django 1.9, so now's a good time to remove its usage where it's not important. --- django/core/management/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'django') diff --git a/django/core/management/__init__.py b/django/core/management/__init__.py index 55a88df178..b88026a335 100644 --- a/django/core/management/__init__.py +++ b/django/core/management/__init__.py @@ -85,7 +85,7 @@ def call_command(name, *args, **options): Some examples: call_command('syncdb') call_command('shell', plain=True) - call_command('sqlall', 'myapp') + call_command('sqlmigrate', 'myapp') """ # Load the command object. try: @@ -240,7 +240,7 @@ class ManagementUtility(object): options.extend((k, 1) for k in FASTCGI_OPTIONS) # special case: add the names of installed apps to options elif cwords[0] in ('dumpdata', 'sql', 'sqlall', 'sqlclear', - 'sqlcustom', 'sqlindexes', 'sqlsequencereset', 'test'): + 'sqlcustom', 'sqlindexes', 'sqlmigrate', 'sqlsequencereset', 'test'): try: app_configs = apps.get_app_configs() # Get the last part of the dotted path as the app name. -- cgit v1.3