From 18b570d750081117c7f2864d6243d387b4398e16 Mon Sep 17 00:00:00 2001 From: Philip Sargent Date: Sun, 21 Mar 2021 01:33:59 +0000 Subject: remote /expofiles/ now for runserver dev --- urls.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'urls.py') 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[^.]+).png$', prospecting_image, name="prospecting_image"), - url(r'^expofiles/(?P.*)$', view_surveys.expofilessingle, name="single"), # EXPOFILES + # use this next alternative if no local copy of expofiles. + url(r'^expofiles/(?P.*)$', flatviews.expofiles_redirect, name="expofiles_redirect"), # to expo.survex.com/expofiles + url(r'^expofiles/(?P.*)$',view_surveys.expofilessingle, name="single"), # local copy of EXPOFILES + # url(r'^javascript/(?P.*)$', view_surveys.cssfilessingle, name="single"), # JSLIB_URL - unused # static views not working, removed as a plugin. Use apache instead to serve these: -- cgit v1.2.3