Commit d380c76d by e0d Committed by Ned Batchelder

Adding a new env to handle escalating privileges to run db migrations.

(cherry picked from commit d2554909)
parent 7b7a3427
from .aws import *
import os
USER = os.environ.get('DB_MIGRATION_USER', 'root')
PASSWORD = os.environ.get('DB_MIGRATION_PASS', None)
DATABASES['default']['USER'] = USER
DATABASES['default']['PASSWORD'] = PASSWORD
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