diff mysite/settings/local.py @ 39:b8e166ca993a

Made the database name part of SECRETS.
author Brian Neal <bgneal@gmail.com>
date Tue, 14 Feb 2012 18:52:57 -0600
parents 903260593491
children
line wrap: on
line diff
--- a/mysite/settings/local.py	Tue Feb 14 18:52:09 2012 -0600
+++ b/mysite/settings/local.py	Tue Feb 14 18:52:57 2012 -0600
@@ -8,7 +8,7 @@
 DATABASES = {
     'default': {
         'ENGINE': 'django.db.backends.mysql',
-        'NAME': 'madeira_django1_3',
+        'NAME': SECRETS['DB_NAME'],
         'USER': SECRETS['DB_USER'],
         'PASSWORD': SECRETS['DB_PASSWORD'],
     },