Fix media url to allow for working in the hut

This commit is contained in:
Sam 2014-07-23 09:10:31 +01:00
parent e0c439e850
commit d8863dca48

View File

@ -42,7 +42,7 @@ PYTHON_PATH = '/home/expo/troggle/'
URL_ROOT = "http://expo.survex.com/" URL_ROOT = "http://expo.survex.com/"
DIR_ROOT = ''#this should end in / if a value is given DIR_ROOT = ''#this should end in / if a value is given
MEDIA_URL = URL_ROOT + DIR_ROOT + 'site_media/' MEDIA_URL = '/' + DIR_ROOT + 'site_media/'
MEDIA_ROOT = '/home/expo/troggle/media/' MEDIA_ROOT = '/home/expo/troggle/media/'
MEDIA_ADMIN_DIR = '/usr/lib/python2.4/site-packages/django/contrib/admin/media/' MEDIA_ADMIN_DIR = '/usr/lib/python2.4/site-packages/django/contrib/admin/media/'