Skip to content

Commit 17dce23

Browse files
committed
ch15 clarify that def save(self) is in ExistingItemForm
1 parent 37e86ab commit 17dce23

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

chapter_advanced_forms.asciidoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -898,6 +898,8 @@ We can make our form call the grandparent save method:
898898
====
899899
[source,python]
900900
----
901+
class ExistingListItemForm(ItemForm):
902+
[...]
901903
def save(self):
902904
return forms.models.ModelForm.save(self)
903905
----

0 commit comments

Comments
 (0)