diff options
author | Philip Sargent <philip.sargent@gmail.com> | 2023-03-28 20:30:00 +0100 |
---|---|---|
committer | Philip Sargent <philip.sargent@gmail.com> | 2023-03-28 20:30:00 +0100 |
commit | 9ffe3f690b7b691a2ba28c3b0feae728a5aba3e9 (patch) | |
tree | 785a68966a3c1ca9e37edd9a445a1faea718172d /core/forms.py | |
parent | e7d9e9402a2a21e0825adc9ad7f4c1327f4c1daf (diff) | |
download | troggle-9ffe3f690b7b691a2ba28c3b0feae728a5aba3e9.tar.gz troggle-9ffe3f690b7b691a2ba28c3b0feae728a5aba3e9.tar.bz2 troggle-9ffe3f690b7b691a2ba28c3b0feae728a5aba3e9.zip |
tidy up entranceSlug all now deleted
Diffstat (limited to 'core/forms.py')
-rw-r--r-- | core/forms.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/forms.py b/core/forms.py index b0b84c6..8d3ea61 100644 --- a/core/forms.py +++ b/core/forms.py @@ -157,13 +157,13 @@ class EntranceForm(ModelForm): return self.cleaned_data -# This next line is called from the templates/edit_cave2.html template. +# This next line is called from the templates/edit_cave.html template. # This is sufficient to create an entire entry for for the cave fields automatically # http://localhost:8000/cave/new/ # using django built-in Deep Magic. https://docs.djangoproject.com/en/dev/topics/forms/modelforms/ # for forms which map directly onto a Django Model CaveAndEntranceFormSet = modelformset_factory(CaveAndEntrance, exclude=("cave",)) - +# This is used only in edit_entrance() in views/caves.py class EntranceLetterForm(ModelForm): """Form to link entrances to caves, along with an entrance number. |