summaryrefslogtreecommitdiffstats
path: root/urls.py
diff options
context:
space:
mode:
authorPhilip Sargent <philip.sargent@klebos.com>2021-03-21 01:33:59 +0000
committerPhilip Sargent <philip.sargent@klebos.com>2021-03-21 01:33:59 +0000
commit18b570d750081117c7f2864d6243d387b4398e16 (patch)
tree290555a0f8f08cfbfe30f2f44b2f112b4c00e0f0 /urls.py
parent314f60052319cab612b6d36730348118976c63f6 (diff)
downloadtroggle-18b570d750081117c7f2864d6243d387b4398e16.tar.gz
troggle-18b570d750081117c7f2864d6243d387b4398e16.tar.bz2
troggle-18b570d750081117c7f2864d6243d387b4398e16.zip
remote /expofiles/ now for runserver dev
Diffstat (limited to 'urls.py')
-rw-r--r--urls.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/urls.py b/urls.py
index cc72be2..46f1706 100644
--- a/urls.py
+++ b/urls.py
@@ -122,7 +122,10 @@ actualurlpatterns = [
url(r'^prospecting/(?P<name>[^.]+).png$', prospecting_image, name="prospecting_image"),
- url(r'^expofiles/(?P<filepath>.*)$', view_surveys.expofilessingle, name="single"), # EXPOFILES
+ # use this next alternative if no local copy of expofiles.
+ url(r'^expofiles/(?P<path>.*)$', flatviews.expofiles_redirect, name="expofiles_redirect"), # to expo.survex.com/expofiles
+ url(r'^expofiles/(?P<filepath>.*)$',view_surveys.expofilessingle, name="single"), # local copy of EXPOFILES
+
# url(r'^javascript/(?P<filepath>.*)$', view_surveys.cssfilessingle, name="single"), # JSLIB_URL - unused
# static views not working, removed as a plugin. Use apache instead to serve these: