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 # URL prefix for admin media -- CSS, JavaScript and images. Make sure to use a
# trailing slash. # trailing slash.
# Examples: "http://foo.com/media/", "/media/". # 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. # Make this unique, and don't share it with anybody.
try: try:
@ -121,3 +121,8 @@ INSTALLED_APPS = (
'mumbai', 'mumbai',
# 'django.contrib.admindocs', # 'django.contrib.admindocs',
) )
try:
from local_settings import *
except:
pass