Include database param if provided and valid in django_admin commands

reviewable/pr18780/r1
Jake Kreider 11 years ago
parent 9f969cd3ec
commit 664aa794b0

@ -186,7 +186,7 @@ def main():
specific_params = ('apps', 'database', 'failfast', 'fixtures', 'liveserver', 'testrunner') specific_params = ('apps', 'database', 'failfast', 'fixtures', 'liveserver', 'testrunner')
# These params are automatically added to the command if present # These params are automatically added to the command if present
general_params = ('settings', 'pythonpath', ) general_params = ('settings', 'pythonpath', 'database',)
specific_boolean_params = ('failfast', 'skip', 'merge', 'link') specific_boolean_params = ('failfast', 'skip', 'merge', 'link')
end_of_command_params = ('apps', 'cache_table', 'fixtures') end_of_command_params = ('apps', 'cache_table', 'fixtures')

Loading…
Cancel
Save