Merge pull request #4228 from mragh/devel

Include database param if provided and valid in django_admin commands
This commit is contained in:
James Cammarata 2013-09-25 14:58:29 -07:00
commit 2ed803837e

View file

@ -186,7 +186,7 @@ def main():
specific_params = ('apps', 'database', 'failfast', 'fixtures', 'liveserver', 'testrunner')
# 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')
end_of_command_params = ('apps', 'cache_table', 'fixtures')