summaryrefslogtreecommitdiffstats
path: root/core/views/caves.py
diff options
context:
space:
mode:
Diffstat (limited to 'core/views/caves.py')
-rw-r--r--core/views/caves.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/views/caves.py b/core/views/caves.py
index f4591d4..d469a9d 100644
--- a/core/views/caves.py
+++ b/core/views/caves.py
@@ -503,9 +503,9 @@ def edit_cave(request, path="", slug=None):
if slug is None:
# it is not visible on the form so it always will be None
slug = f"{cave.areacode}-{cave.number()}"
- cs = CaveSlug(cave=cave, slug=slug, primary=True)
- print(f"edit_cave(): New CaveSlug saved {slug}")
- cs.save()
+ # cs = CaveSlug(cave=cave, slug=slug, primary=True)
+ # print(f"edit_cave(): New CaveSlug saved {slug}")
+ # cs.save()
if cave.entrances().count() > 0:
# Redirect after POST