summaryrefslogtreecommitdiffstats
path: root/core/views/caves.py
diff options
context:
space:
mode:
authorMartin Green <martin.speleo@gmail.com>2022-07-31 17:08:28 +0200
committerMartin Green <martin.speleo@gmail.com>2022-07-31 17:08:28 +0200
commit94252a94feea6f8050f64fc3a7edf854d363afbc (patch)
tree95604c2f354537fabdbfb69093968a82f1a852f9 /core/views/caves.py
parent91568b71516c6418bd9e2bd00433486bc6baf769 (diff)
downloadtroggle-94252a94feea6f8050f64fc3a7edf854d363afbc.tar.gz
troggle-94252a94feea6f8050f64fc3a7edf854d363afbc.tar.bz2
troggle-94252a94feea6f8050f64fc3a7edf854d363afbc.zip
Edit caves in the same parent URL as the final file
Diffstat (limited to 'core/views/caves.py')
-rw-r--r--core/views/caves.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/views/caves.py b/core/views/caves.py
index 44dbb80..b56eacb 100644
--- a/core/views/caves.py
+++ b/core/views/caves.py
@@ -294,7 +294,7 @@ def caveEntrance(request, slug):
return render(request,'cave_entrances.html', {'cave': cave})
@login_required_if_public
-def edit_cave(request, slug=None):
+def edit_cave(request, path = "", slug=None):
'''This is the form that edits all the cave data and writes out an XML file in the :expoweb: repo folder
The format for the file being saved is in templates/dataformat/cave.xml