From 1b82113f1183dfb22971db5f7fa0bdf778fe1505 Mon Sep 17 00:00:00 2001 From: Philip Sargent Date: Thu, 28 Aug 2025 14:38:40 +0300 Subject: [PATCH] testing bad import under wsgi --- urls.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/urls.py b/urls.py index 8953e47..2371901 100644 --- a/urls.py +++ b/urls.py @@ -5,7 +5,8 @@ from django.contrib.auth.views import PasswordResetView, PasswordResetConfirmVie from django.urls import include, path, re_path -from troggle.core.views import statistics, survex +from troggle.core.views import survex + from troggle.core.views.auth import expologin, expologout from troggle.core.views.caves import ( cave3d, @@ -66,6 +67,10 @@ from troggle.core.views.signup import signup, signupok from troggle.core.views.uploads import dwgupload, expofilerename, gpxupload, photoupload from troggle.core.views.wallets_edit import walletedit +# crashes when run from wsgi on new server OS: +from troggle.core.views import statistics + + # from troggle.core.views.user_registration import SignUpView # Warning: a Class-based View """This sets the actualurlpatterns[] and urlpatterns[] lists which django uses