forked from expo/troggle
See what breaks when put .3d on the end of urls for dowloading 3d files
This commit is contained in:
parent
fc9977952e
commit
0cd32d6a15
2
urls.py
2
urls.py
@ -137,7 +137,7 @@ trogglepatterns = [
|
|||||||
# Cave description pages
|
# Cave description pages
|
||||||
path('cave_debug', cave_debug, name="cave_debug"),
|
path('cave_debug', cave_debug, name="cave_debug"),
|
||||||
re_path(r'^newcave/$', edit_cave, name="newcave"),
|
re_path(r'^newcave/$', edit_cave, name="newcave"),
|
||||||
re_path(r'^cave/3d/(?P<cave_id>[^/]+)$', cave3d, name="cave3d"),
|
re_path(r'^cave/3d/(?P<cave_id>[^/]+).3d$', cave3d, name="cave3d"),
|
||||||
|
|
||||||
#re_path(r'^cave/description/([^/]+)/?$', caves.caveDescription), #!!!BAD, local links fail..
|
#re_path(r'^cave/description/([^/]+)/?$', caves.caveDescription), #!!!BAD, local links fail..
|
||||||
#re_path(r'^cave/(?P<cave_id>[^/]+)/?$', caves.cave, name="cave"), # used only in testing !? XXXXXXXXXXXXXXXXXXXXXXXXXX
|
#re_path(r'^cave/(?P<cave_id>[^/]+)/?$', caves.cave, name="cave"), # used only in testing !? XXXXXXXXXXXXXXXXXXXXXXXXXX
|
||||||
|
Loading…
Reference in New Issue
Block a user