summaryrefslogtreecommitdiff
path: root/greenbox/settings.py
diff options
context:
space:
mode:
Diffstat (limited to 'greenbox/settings.py')
-rw-r--r--greenbox/settings.py23
1 files changed, 3 insertions, 20 deletions
diff --git a/greenbox/settings.py b/greenbox/settings.py
index a0096ed..939f396 100644
--- a/greenbox/settings.py
+++ b/greenbox/settings.py
@@ -1,20 +1,12 @@
1import os 1import os
2 2
3PROJECT_DIR = os.path.dirname(__file__) 3PROJECT_DIR = os.path.abspath(os.path.dirname(__file__))
4PUBLIC_DIR = os.path.join(PROJECT_DIR, 'site_media') 4PUBLIC_DIR = os.path.join(os.path.dirname(__file__), 'site_media')
5 5
6SITE_ID = 1 6SITE_ID = 1
7USE_I18N = False 7USE_I18N = False
8DEBUG = True 8TEMPLATE_DEBUG = DEBUG = True
9TEMPLATE_DEBUG = DEBUG
10
11PROJECT_DIR = os.path.abspath(os.path.dirname(__file__))
12
13ADMINS = (
14 ('Mike Crute', 'mcrute@gmail.com'),
15)
16 9
17MANAGERS = ADMINS
18 10
19DATABASES = { 11DATABASES = {
20 'default': { 12 'default': {
@@ -27,10 +19,6 @@ TIME_ZONE = 'America/New_York'
27LANGUAGE_CODE = 'en-us' 19LANGUAGE_CODE = 'en-us'
28ROOT_URLCONF = 'greenbox.urls' 20ROOT_URLCONF = 'greenbox.urls'
29 21
30
31MEDIA_ROOT = os.path.join(PUBLIC_DIR, 'media')
32MEDIA_URL = '/site_media/media/'
33
34STATIC_ROOT = os.path.join(PUBLIC_DIR, 'static') 22STATIC_ROOT = os.path.join(PUBLIC_DIR, 'static')
35STATIC_URL = '/site_media/static/' 23STATIC_URL = '/site_media/static/'
36 24
@@ -60,8 +48,3 @@ INSTALLED_APPS = (
60 'south', 48 'south',
61 'recipe', 49 'recipe',
62) 50)
63
64try:
65 from settings_local import *
66except ImportError:
67 pass