summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPrabhu Ramachandran2011-11-26 01:09:25 +0530
committerPrabhu Ramachandran2011-11-26 01:09:25 +0530
commit511c79e25a07fdab2810909d52263763745979e1 (patch)
tree66ddd598353bba9d4d367e6df69ec92c821152e0
parent672163bfb8e656e5250b8349aad14b2a550b57b5 (diff)
downloadonline_test-511c79e25a07fdab2810909d52263763745979e1.tar.gz
online_test-511c79e25a07fdab2810909d52263763745979e1.tar.bz2
online_test-511c79e25a07fdab2810909d52263763745979e1.zip
Updating settings to add URL_ROOT for admin media.
-rw-r--r--settings.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/settings.py b/settings.py
index b102160..f1c48b9 100644
--- a/settings.py
+++ b/settings.py
@@ -89,7 +89,7 @@ STATIC_URL = '/static/'
# URL prefix for admin static files -- CSS, JavaScript and images.
# Make sure to use a trailing slash.
# Examples: "http://foo.com/static/admin/", "/static/admin/".
-ADMIN_MEDIA_PREFIX = '/static/admin/'
+ADMIN_MEDIA_PREFIX = URL_ROOT + '/static/admin/'
# Additional locations of static files
STATICFILES_DIRS = (