diff bns_website/settings/local.py @ 6:48ff23eab86a

Enabled the admin. Created a "bands" app with a band model. Created a generic view to display the bands.
author Brian Neal <bgneal@gmail.com>
date Sat, 29 Oct 2011 17:11:58 -0500
parents 134fbfc4acf6
children d5f3bb516fd3
line wrap: on
line diff
--- a/bns_website/settings/local.py	Fri Oct 28 21:58:54 2011 -0500
+++ b/bns_website/settings/local.py	Sat Oct 29 17:11:58 2011 -0500
@@ -9,6 +9,14 @@
 STATIC_URL = '/static/'
 ADMIN_MEDIA_PREFIX = '/static/admin/'
 
+DATABASES = {
+    'default': {
+        'ENGINE': 'django.db.backends.mysql',
+        'NAME': 'bravenewsurf',
+        'USER': SECRETS['DB_USER'],
+        'PASSWORD': SECRETS['DB_PASSWORD'],
+    },
+}
 
 LOGGING = {
     'version': 1,