Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

urls.py: added static serving of DATA_ROOT

  • Loading branch information...
commit 2cf11755cc141bfdacf9ad47ae368706c823d7d7 1 parent 4dfaf07
@trey0 trey0 authored
Showing with 6 additions and 0 deletions.
  1. +6 −0 urls.py
View
6 urls.py
@@ -43,6 +43,12 @@
show_indexes=True,
readOnly=True)),
+ url(r'^data/(?P<path>.*)$',
+ 'geocamUtil.views.staticServeWithExpires.staticServeWithExpires',
+ dict(document_root=settings.DATA_ROOT,
+ show_indexes=True,
+ readOnly=True)),
+
url(r'^favicon.ico$', 'django.views.generic.simple.redirect_to',
{'url': settings.STATIC_URL + 'responderMaps/icons/responderMaps.ico',
'readOnly': True}),
Please sign in to comment.
Something went wrong with that request. Please try again.