From 4ce8ca0a5ed12cdd6d209314dca6664f7517458f Mon Sep 17 00:00:00 2001 From: aaron Date: Fri, 27 Mar 2009 16:58:03 +0100 Subject: [PATCH] [svn r8310] Temporary fix for double slash problem --- troggle/settings.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/troggle/settings.py b/troggle/settings.py index e5c2101f2..8e8a67e26 100644 --- a/troggle/settings.py +++ b/troggle/settings.py @@ -1,5 +1,6 @@ from localsettings import * import os +import urllib # Django settings for troggle project. DEBUG = True @@ -34,7 +35,7 @@ USE_I18N = True # Examples: "http://foo.com/media/", "/media/". ADMIN_MEDIA_PREFIX = '/troggle/media-admin/' PHOTOS_ROOT = os.path.join(EXPOWEB, 'photos') -MEDIA_URL = URL_ROOT+'/site_media/' +MEDIA_URL = URL_ROOT+'site_media/' SURVEYS_URL = URL_ROOT+'/survey_scans/' PHOTOS_URL = URL_ROOT+'/photos/' SVX_URL = URL_ROOT+'/survex/'