From 511c79e25a07fdab2810909d52263763745979e1 Mon Sep 17 00:00:00 2001 From: Prabhu Ramachandran Date: Sat, 26 Nov 2011 01:09:25 +0530 Subject: Updating settings to add URL_ROOT for admin media. --- settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 = ( -- cgit