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
parent e8edee4166
commit 1710b45075

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', ),
)