From 94252a94feea6f8050f64fc3a7edf854d363afbc Mon Sep 17 00:00:00 2001 From: Martin Green Date: Sun, 31 Jul 2022 17:08:28 +0200 Subject: Edit caves in the same parent URL as the final file --- core/views/caves.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/views/caves.py') 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 -- cgit v1.2.3