From 0cd32d6a15a2ded9b1edac66954e0b729ed4d154 Mon Sep 17 00:00:00 2001 From: Martin Green Date: Wed, 7 Jun 2023 22:58:28 +0100 Subject: [PATCH] See what breaks when put .3d on the end of urls for dowloading 3d files --- urls.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/urls.py b/urls.py index a06e7cd..0b71a68 100644 --- a/urls.py +++ b/urls.py @@ -137,7 +137,7 @@ trogglepatterns = [ # Cave description pages path('cave_debug', cave_debug, name="cave_debug"), re_path(r'^newcave/$', edit_cave, name="newcave"), - re_path(r'^cave/3d/(?P[^/]+)$', cave3d, name="cave3d"), + re_path(r'^cave/3d/(?P[^/]+).3d$', cave3d, name="cave3d"), #re_path(r'^cave/description/([^/]+)/?$', caves.caveDescription), #!!!BAD, local links fail.. #re_path(r'^cave/(?P[^/]+)/?$', caves.cave, name="cave"), # used only in testing !? XXXXXXXXXXXXXXXXXXXXXXXXXX