From 5cfb0a3b821bb160bbeeab9bd221447758b1afef Mon Sep 17 00:00:00 2001 From: Sanj Date: Thu, 15 Dec 2011 18:32:17 +0530 Subject: [PATCH] admin media path in settings + local_settings --- chaloBEST/settings.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/chaloBEST/settings.py b/chaloBEST/settings.py index 29e2083..1cf223a 100644 --- a/chaloBEST/settings.py +++ b/chaloBEST/settings.py @@ -62,7 +62,7 @@ MEDIA_URL = '' # URL prefix for admin media -- CSS, JavaScript and images. Make sure to use a # trailing slash. # Examples: "http://foo.com/media/", "/media/". -ADMIN_MEDIA_PREFIX = '/media/' +ADMIN_MEDIA_PREFIX = '/admin/media/' # Make this unique, and don't share it with anybody. try: @@ -121,3 +121,8 @@ INSTALLED_APPS = ( 'mumbai', # 'django.contrib.admindocs', ) + +try: + from local_settings import * +except: + pass