diff options
author | Philip Sargent <philip.sargent@klebos.com> | 2021-03-21 01:33:59 +0000 |
---|---|---|
committer | Philip Sargent <philip.sargent@klebos.com> | 2021-03-21 01:33:59 +0000 |
commit | 18b570d750081117c7f2864d6243d387b4398e16 (patch) | |
tree | 290555a0f8f08cfbfe30f2f44b2f112b4c00e0f0 /urls.py | |
parent | 314f60052319cab612b6d36730348118976c63f6 (diff) | |
download | troggle-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.py | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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: |