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.
pull/18777/head
Peter Bwire 10 years ago committed by Matt Clay
parent 65d8fbd9ab
commit 20eb900065

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

Loading…
Cancel
Save