forked from expo/troggle
Fix media url to allow for working in the hut
This commit is contained in:
parent
e0c439e850
commit
d8863dca48
@ -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/'
|
||||||
|
Loading…
Reference in New Issue
Block a user