comparison gpp/settings/local.py @ 569:3fe2eced1be7

Now developing on Ubuntu 12.04 with Python 2.7. Use symbolic links for media, so add media/banners to .hgignore. I had a syntax error in banner_tags.py that only Python 2.7 caught. For local development, read database name from SECRETS.
author Brian Neal <bgneal@gmail.com>
date Sun, 29 Apr 2012 16:00:01 -0500
parents abc4be5a82e5
children c2ba9c3395da
comparison
equal deleted inserted replaced
568:7cec8d6f9581 569:3fe2eced1be7
7 DEBUG = True 7 DEBUG = True
8 8
9 DATABASES = { 9 DATABASES = {
10 'default': { 10 'default': {
11 'ENGINE': 'django.db.backends.mysql', 11 'ENGINE': 'django.db.backends.mysql',
12 'NAME': 'gremmies_portal', 12 'NAME': SECRETS['DB_NAME'],
13 'USER': SECRETS['DB_USER'], 13 'USER': SECRETS['DB_USER'],
14 'PASSWORD': SECRETS['DB_PASSWORD'], 14 'PASSWORD': SECRETS['DB_PASSWORD'],
15 }, 15 },
16 } 16 }
17 17