diff options
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. |