comparison 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
comparison
equal deleted inserted replaced
38:1ff89e01b4ff 39:b8e166ca993a
6 from settings.base import * 6 from settings.base import *
7 7
8 DATABASES = { 8 DATABASES = {
9 'default': { 9 'default': {
10 'ENGINE': 'django.db.backends.mysql', 10 'ENGINE': 'django.db.backends.mysql',
11 'NAME': 'madeira_django1_3', 11 'NAME': SECRETS['DB_NAME'],
12 'USER': SECRETS['DB_USER'], 12 'USER': SECRETS['DB_USER'],
13 'PASSWORD': SECRETS['DB_PASSWORD'], 13 'PASSWORD': SECRETS['DB_PASSWORD'],
14 }, 14 },
15 } 15 }
16 16