From 1710b45075d258216b32cf62a636e3a0f1ff098b Mon Sep 17 00:00:00 2001 From: Peter Bwire Date: Fri, 5 Dec 2014 18:08:47 +0300 Subject: [PATCH] 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. --- web_infrastructure/django_manage.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web_infrastructure/django_manage.py b/web_infrastructure/django_manage.py index 580cc63c2dd..3e34a6388c0 100644 --- a/web_infrastructure/django_manage.py +++ b/web_infrastructure/django_manage.py @@ -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', ), )