[svn r8246] Photo file handling and mugshots parsing sorted.

Made URL settings more relative, less redundant.
This commit is contained in:
aaron
2009-02-18 07:45:45 +01:00
parent 1baf2cc0d4
commit 4fc8c8ae3c
5 changed files with 89 additions and 62 deletions

View File

@@ -1,5 +1,6 @@
from localsettings import *
# Django settings for troggle2 project.
import os
# Django settings for troggle project.
DEBUG = True
TEMPLATE_DEBUG = DEBUG
@@ -32,6 +33,11 @@ USE_I18N = True
# trailing slash.
# Examples: "http://foo.com/media/", "/media/".
ADMIN_MEDIA_PREFIX = '/troggle/media-admin/'
PHOTOS = os.path.join(EXPOWEB, 'photos')
MEDIA_URL = URL_ROOT+'/site_media/'
SURVEYS_URL = URL_ROOT+'/survey_scans/'
PHOTOS_URL = URL_ROOT+'/photos/'
SVX_URL = URL_ROOT+'/survex/'
APPEND_SLASH = False
SMART_APPEND_SLASH = True