summaryrefslogtreecommitdiffstats
path: root/urls.py
diff options
context:
space:
mode:
authorgoatchurch <goatchurch@ubuntu.clocksoft.dom>2009-09-11 23:56:47 +0100
committergoatchurch <goatchurch@ubuntu.clocksoft.dom>2009-09-11 23:56:47 +0100
commit12cf3a6d534e5038b5d78b11a03cef2b81f5f852 (patch)
tree30d6f4e0891ae28750ca9dd97c74432c17683384 /urls.py
parentb80168c099b5805dfc9c1fee576d00cabc31e2d2 (diff)
downloadtroggle-12cf3a6d534e5038b5d78b11a03cef2b81f5f852.tar.gz
troggle-12cf3a6d534e5038b5d78b11a03cef2b81f5f852.tar.bz2
troggle-12cf3a6d534e5038b5d78b11a03cef2b81f5f852.zip
tunnelfiles scheme added
Diffstat (limited to 'urls.py')
-rw-r--r--urls.py5
1 files changed, 2 insertions, 3 deletions
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<year>\d\d\d\d)/?$', views_other.calendar, name="calendar"),
-
url(r'^survey/?$', surveyindex, name="survey"),
url(r'^survey/(?P<year>\d\d\d\d)\#(?P<wallet_number>\d*)$', survey, name="survey"),
@@ -110,7 +108,8 @@ urlpatterns = patterns('',
url(r'^survey_scans/(?P<path>[^/]+)/$', view_surveys.surveyscansfolder, name="surveyscansfolder"),
url(r'^survey_scans/(?P<path>[^/]+)/(?P<file>[^/]+(?:png|jpg))$',
view_surveys.surveyscansingle, name="surveyscansingle"),
-
+ url(r'^tunneldata/$', view_surveys.tunneldata, name="tunneldata"),
+
(r'^photos/(?P<path>.*)$', 'django.views.static.serve',
{'document_root': settings.PHOTOS_ROOT, 'show_indexes':True}),