Commit d28f2f59 by John Jarvis

adding check back in

parent 69349767
......@@ -21,5 +21,9 @@ DB_OVERRIDES = dict(
PORT=os.environ.get('DB_MIGRATION_PORT', DATABASES['default']['PORT']),
)
if not DB_OVERRIDES['PASSWORD']:
raise ImproperlyConfigured("No database password was provided for running "
"migrations. This is fatal.")
for override, value in DB_OVERRIDES.iteritems():
DATABASES['default'][override] = value
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment