aboutsummaryrefslogtreecommitdiffstats
path: root/example/settings.py
diff options
context:
space:
mode:
authorJannis Leidel2012-08-27 03:37:44 -0700
committerJannis Leidel2012-08-27 03:37:44 -0700
commit1432944152d5fa6005e29419dc160a7602a26cee (patch)
tree0198cb90ff0088d718b5c3d9e11f1893f37e742f /example/settings.py
parent119874f649e67e04ded3847fc166b9798af26a78 (diff)
parenta4480a2f810fd8a21da1d2e637d4bfcf10357605 (diff)
downloaddjango-debug-toolbar-1432944152d5fa6005e29419dc160a7602a26cee.tar.bz2
Merge pull request #313 from graingert/master
Use links to static JS and CSS, using {{ STATIC_URL }}
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',