summaryrefslogtreecommitdiffstats
path: root/localsettingsubuntu.py
diff options
context:
space:
mode:
Diffstat (limited to 'localsettingsubuntu.py')
-rw-r--r--localsettingsubuntu.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/localsettingsubuntu.py b/localsettingsubuntu.py
index 991a77f..0d1fe62 100644
--- a/localsettingsubuntu.py
+++ b/localsettingsubuntu.py
@@ -30,14 +30,15 @@ PHOTOS = '/home/goatchurch/expoweb/photos'
FILES = "/home/goatchurch/tunnel/cucc/surveys"
-MEDIA_URL = '/site_media/'
+MEDIA_URL = URL_ROOT + DIR_ROOT + '/site_media/'
#URL_ROOT = '/troggle/'
MEDIA_ROOT = '/home/goatchurch/expoweb/troggle/media/'
URL_ROOT = 'http://127.0.0.1:8000'
+DIR_ROOT = ''#this should end in / if a value is given
TINY_MCE_MEDIA_ROOT = '/usr/share/tinymce/www/'
-TINY_MCE_MEDIA_URL = URL_ROOT + 'tinymce_media/'
+TINY_MCE_MEDIA_URL = URL_ROOT + DIR_ROOT + 'tinymce_media/'
TEMPLATE_DIRS = (
"/home/goatchurch/expoweb/troggle/templates",