Update django_manage to add database option for migrate

Allow passing the database option to the django_manage module for migrations. This is usefull in situations where multiple databases are used by a django application.
This commit is contained in:
Peter Bwire 2014-12-05 18:08:47 +03:00 committed by Matt Clay
parent 65d8fbd9ab
commit 20eb900065

View file

@ -170,7 +170,7 @@ def main():
syncdb=('database', ), syncdb=('database', ),
test=('failfast', 'testrunner', 'liveserver', 'apps', ), test=('failfast', 'testrunner', 'liveserver', 'apps', ),
validate=(), validate=(),
migrate=('apps', 'skip', 'merge'), migrate=('apps', 'skip', 'merge', 'database',),
collectstatic=('link', ), collectstatic=('link', ),
) )