summaryrefslogtreecommitdiffstats
path: root/core/views/caves.py
diff options
context:
space:
mode:
authorPhilip Sargent <philip.sargent@gmail.com>2023-07-26 17:38:19 +0300
committerPhilip Sargent <philip.sargent@gmail.com>2023-07-26 17:38:19 +0300
commit6482aa697fbc7823005018120befd0fd26baf1da (patch)
tree3340b6ae7300b64302704790bbb7aea78e2f357d /core/views/caves.py
parent0706d5dc77ac3dd52ced544f9dcd6ac01342d7c6 (diff)
downloadtroggle-6482aa697fbc7823005018120befd0fd26baf1da.tar.gz
troggle-6482aa697fbc7823005018120befd0fd26baf1da.tar.bz2
troggle-6482aa697fbc7823005018120befd0fd26baf1da.zip
helpful comments on form
Diffstat (limited to 'core/views/caves.py')
-rw-r--r--core/views/caves.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/core/views/caves.py b/core/views/caves.py
index cb4496e..1dbb1e9 100644
--- a/core/views/caves.py
+++ b/core/views/caves.py
@@ -485,10 +485,8 @@ def edit_entrance(request, path="", caveslug=None, entslug=None):
entrance_letter.entrance = entrance
entrance_letter.save()
- if not entrance.filename:
- print(f"! BARF - why no filename set? '{entslug}' letter:{entletter.cleaned_data['entrance_letter']}")
entrance_file = entrance.file_output()
- print(f"Online edit of entrance {entrance.slug}")
+ # print(f"Online edit of entrance {entrance.slug}")
cave_file = cave.file_output()
write_and_commit([entrance_file, cave_file], f"Online edit of entrance {entrance.slug}")
return HttpResponseRedirect("/" + cave.url)