admin media path in settings + local_settings

This commit is contained in:
Sanj 2011-12-15 18:32:17 +05:30
parent 55c7b3a717
commit 5cfb0a3b82

View File

@ -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