diff options
author | goatchurch <goatchurch@ubuntu.clocksoft.dom> | 2009-09-11 23:56:47 +0100 |
---|---|---|
committer | goatchurch <goatchurch@ubuntu.clocksoft.dom> | 2009-09-11 23:56:47 +0100 |
commit | 12cf3a6d534e5038b5d78b11a03cef2b81f5f852 (patch) | |
tree | 30d6f4e0891ae28750ca9dd97c74432c17683384 /urls.py | |
parent | b80168c099b5805dfc9c1fee576d00cabc31e2d2 (diff) | |
download | troggle-12cf3a6d534e5038b5d78b11a03cef2b81f5f852.tar.gz troggle-12cf3a6d534e5038b5d78b11a03cef2b81f5f852.tar.bz2 troggle-12cf3a6d534e5038b5d78b11a03cef2b81f5f852.zip |
tunnelfiles scheme added
Diffstat (limited to 'urls.py')
-rw-r--r-- | urls.py | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -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}),
|