diff options
| author | Tim Graham <timograham@gmail.com> | 2014-12-26 18:23:00 -0500 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2014-12-26 18:52:26 -0500 |
| commit | 75bbcfa332397a39e95bb267100cd1524314105c (patch) | |
| tree | a30b16b6a87288a9136fcd9cdc5e91cf5eab62c7 /django/core | |
| parent | 0821b3d53ccd575de92ed679d173d779e1ad5acd (diff) | |
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.
Diffstat (limited to 'django/core')
| -rw-r--r-- | django/core/management/__init__.py | 4 |
1 files changed, 2 insertions, 2 deletions
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. |
