Mercurial > public > bravenewsurf
comparison 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 |
comparison
equal
deleted
inserted
replaced
5:04991ccaf30c | 6:48ff23eab86a |
---|---|
7 | 7 |
8 MEDIA_URL = '/media/' | 8 MEDIA_URL = '/media/' |
9 STATIC_URL = '/static/' | 9 STATIC_URL = '/static/' |
10 ADMIN_MEDIA_PREFIX = '/static/admin/' | 10 ADMIN_MEDIA_PREFIX = '/static/admin/' |
11 | 11 |
12 DATABASES = { | |
13 'default': { | |
14 'ENGINE': 'django.db.backends.mysql', | |
15 'NAME': 'bravenewsurf', | |
16 'USER': SECRETS['DB_USER'], | |
17 'PASSWORD': SECRETS['DB_PASSWORD'], | |
18 }, | |
19 } | |
12 | 20 |
13 LOGGING = { | 21 LOGGING = { |
14 'version': 1, | 22 'version': 1, |
15 'disable_existing_loggers': True, | 23 'disable_existing_loggers': True, |
16 'formatters': { | 24 'formatters': { |