2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2024-11-28 18:11:52 +00:00

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: