From d8863dca481fa82c1c895a4ee295c7a86057ba80 Mon Sep 17 00:00:00 2001 From: Sam Date: Wed, 23 Jul 2014 09:10:31 +0100 Subject: [PATCH] Fix media url to allow for working in the hut --- localsettingspotatohut.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/localsettingspotatohut.py b/localsettingspotatohut.py index 1babd4a..0594ca1 100644 --- a/localsettingspotatohut.py +++ b/localsettingspotatohut.py @@ -42,7 +42,7 @@ PYTHON_PATH = '/home/expo/troggle/' URL_ROOT = "http://expo.survex.com/" 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_ADMIN_DIR = '/usr/lib/python2.4/site-packages/django/contrib/admin/media/'