diff --git a/urls.py b/urls.py index ebce032..c1917f1 100644 --- a/urls.py +++ b/urls.py @@ -122,7 +122,7 @@ actualurlpatterns = patterns('', #(r'^survey_scans/(?P.*)$', 'django.views.static.serve', {'document_root': settings.SURVEY_SCANS, 'show_indexes':True}), url(r'^survey_scans/$', view_surveys.surveyscansfolders, name="surveyscansfolders"), url(r'^survey_scans/(?P[^/]+)/$', view_surveys.surveyscansfolder, name="surveyscansfolder"), - url(r'^survey_scans/(?P[^/]+)/(?P[^/]+(?:png|jpg|jpeg))$', + url(r'^survey_scans/(?P[^/]+)/(?P[^/]+(?:png|jpg|pdf|jpeg|PNG|JPG|PDF|JPEG))$', view_surveys.surveyscansingle, name="surveyscansingle"), url(r'^tunneldata/$', view_surveys.tunneldata, name="tunneldata"),