summaryrefslogtreecommitdiff
path: root/conf
diff options
context:
space:
mode:
authorMarkus Zapke-Grùˆndemann <info@keimlink.de>2011-12-30 03:57:10 +0100
committerMarkus Zapke-Grùˆndemann <info@keimlink.de>2011-12-30 03:57:10 +0100
commit1347410c5125775f8b84bff0d12086158c39bea0 (patch)
tree521fb037c2a18cfb2c59490a6b96defa1d027c8b /conf
parent8d7103f5d53c31f40bf6725a2923046e664eca57 (diff)
Added image for news posts.
Diffstat (limited to 'conf')
-rw-r--r--conf/dev_settings.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/conf/dev_settings.py b/conf/dev_settings.py
index 1953653..d5cefb7 100644
--- a/conf/dev_settings.py
+++ b/conf/dev_settings.py
@@ -2,6 +2,7 @@ import os
from settings import SITE_ROOT, INSTALLED_APPS, MIDDLEWARE_CLASSES
+
DEBUG = True
TEMPLATE_DEBUG = DEBUG
@@ -12,7 +13,14 @@ DATABASES = {
}
}
+MEDIA_ROOT = os.path.join(SITE_ROOT, 'media')
+if not os.path.exists(MEDIA_ROOT):
+ os.mkdir(MEDIA_ROOT)
+
+MEDIA_URL = '/media/'
+
INSTALLED_APPS += ('debug_toolbar',)
+
MIDDLEWARE_CLASSES += ('debug_toolbar.middleware.DebugToolbarMiddleware',)
INTERNAL_IPS = ('127.0.0.1')