From 919c7e932a8e230a970efb8308e71bb10f15a6fb Mon Sep 17 00:00:00 2001 From: substantialnoninfringinguser Date: Wed, 13 May 2009 06:22:53 +0100 Subject: [svn] Fixes to deal with reorganization of expo surveys repository. Now that survey scans and Surveys.csv are in different directories, we have two settings variables, settings.SURVEYS for the root of the survey repo, and settings.SURVEY_SCANS for the surveyscans directory. Fixed tab / indent muck in surveys parser. Commented out some "file abstraction" stuff for the time being. Copied from http://cucc@cucc.survex.com/svn/trunk/expoweb/troggle/, rev. 8335 by cucc @ 5/10/2009 7:26 AM --- urls.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'urls.py') diff --git a/urls.py b/urls.py index 9494694..4d39f84 100644 --- a/urls.py +++ b/urls.py @@ -76,7 +76,7 @@ urlpatterns = patterns('', #(r'^survey_files/upload/(?P.*)$', view_surveys.upload), (r'^survey_scans/(?P.*)$', 'django.views.static.serve', - {'document_root': settings.SURVEYS, 'show_indexes':True}), + {'document_root': settings.SURVEY_SCANS, 'show_indexes':True}), (r'^photos/(?P.*)$', 'django.views.static.serve', {'document_root': settings.PHOTOS_ROOT, 'show_indexes':True}), -- cgit v1.2.3