diff 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
line wrap: on
line diff
--- a/gpp/settings/local.py	Sat Mar 10 15:24:46 2012 -0600
+++ b/gpp/settings/local.py	Sun Apr 29 16:00:01 2012 -0500
@@ -9,7 +9,7 @@
 DATABASES = {
     'default': {
         'ENGINE': 'django.db.backends.mysql',
-        'NAME': 'gremmies_portal',
+        'NAME': SECRETS['DB_NAME'],
         'USER': SECRETS['DB_USER'],
         'PASSWORD': SECRETS['DB_PASSWORD'],
     },