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', ),
test=('failfast', 'testrunner', 'liveserver', 'apps', ),
validate=(),
migrate=('apps', 'skip', 'merge'),
migrate=('apps', 'skip', 'merge', 'database',),
collectstatic=('link', ),
)