From 2c74a7317d45c4f5435fbac48214e9b11d8a4200 Mon Sep 17 00:00:00 2001 From: Philip Sargent Date: Fri, 4 Aug 2023 16:11:35 +0300 Subject: [PATCH] bugfix --- core/views/caves.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/views/caves.py b/core/views/caves.py index ee054d0..4408d76 100644 --- a/core/views/caves.py +++ b/core/views/caves.py @@ -498,7 +498,7 @@ def edit_entrance(request, path="", caveslug=None, entslug=None): ent = read_entrance(filename, ent=entrance) print(f"ENTRANCE from file: entranceletter = '{caveAndEntrance.entranceletter}'") - form = EntranceForm(instance=entrance) + entform = EntranceForm(instance=entrance) if entslug is None: entletterform = EntranceLetterForm() # print(f" Getting entletter from EntranceLetterForm")