aboutsummaryrefslogtreecommitdiffstats
path: root/example/settings.py
diff options
context:
space:
mode:
authorThomas Grainger2012-08-20 13:35:46 +0100
committerThomas Grainger2012-08-20 13:35:46 +0100
commit189668eadd3f47d8c4a03ad2953b25a3a475a127 (patch)
tree13966da3eae4b2a2d22d895e83ba66a885740778 /example/settings.py
parent119874f649e67e04ded3847fc166b9798af26a78 (diff)
downloaddjango-debug-toolbar-189668eadd3f47d8c4a03ad2953b25a3a475a127.tar.bz2
use links to static files rather than direct inclusion, Fixes #307
Diffstat (limited to 'example/settings.py')
-rw-r--r--example/settings.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/example/settings.py b/example/settings.py
index c421a62..6fa3e56 100644
--- a/example/settings.py
+++ b/example/settings.py
@@ -17,6 +17,8 @@ INSTALLED_APPS = (
INTERNAL_IPS = ('127.0.0.1',)
MEDIA_ROOT = os.path.join(PROJECT_PATH, 'media')
MEDIA_URL = '/media'
+STATIC_ROOT = os.path.join(HOME_ROOT, 'staticfiles')
+STATIC_URL = '/static/'
MIDDLEWARE_CLASSES = (
'django.middleware.common.CommonMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',