Do not rename caves when saving

This commit is contained in:
Martin Green 2023-05-08 22:34:45 +01:00
parent 77ed1b444c
commit 7d140af87a

View File

@ -362,8 +362,6 @@ def edit_cave(request, path="", slug=None):
if form.is_valid() and ceFormSet.is_valid():
# print(f'! POST is valid. {cave}')
cave = form.save(commit=False)
cave.filename = form.cleaned_data["cave_slug"] + ".html"
cave.save()
form.save_m2m()
if slug is None: