From 12cf3a6d534e5038b5d78b11a03cef2b81f5f852 Mon Sep 17 00:00:00 2001 From: goatchurch Date: Fri, 11 Sep 2009 23:56:47 +0100 Subject: tunnelfiles scheme added --- urls.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'urls.py') diff --git a/urls.py b/urls.py index c3b4be7..20f5ca4 100644 --- a/urls.py +++ b/urls.py @@ -55,8 +55,6 @@ urlpatterns = patterns('', url(r'^statistics/?$', views_other.stats, name="stats"), - url(r'^calendar/(?P\d\d\d\d)/?$', views_other.calendar, name="calendar"), - url(r'^survey/?$', surveyindex, name="survey"), url(r'^survey/(?P\d\d\d\d)\#(?P\d*)$', survey, name="survey"), @@ -110,7 +108,8 @@ urlpatterns = patterns('', url(r'^survey_scans/(?P[^/]+)/$', view_surveys.surveyscansfolder, name="surveyscansfolder"), url(r'^survey_scans/(?P[^/]+)/(?P[^/]+(?:png|jpg))$', view_surveys.surveyscansingle, name="surveyscansingle"), - + url(r'^tunneldata/$', view_surveys.tunneldata, name="tunneldata"), + (r'^photos/(?P.*)$', 'django.views.static.serve', {'document_root': settings.PHOTOS_ROOT, 'show_indexes':True}), -- cgit v1.2.3