Use form for saving list items

This commit is contained in:
Mouse Reeve
2022-01-25 12:10:58 -08:00
parent a43731b335
commit f85158191b
7 changed files with 151 additions and 94 deletions

View File

@@ -447,7 +447,7 @@ class ListForm(CustomForm):
class ListItemForm(CustomForm):
class Meta:
model = models.ListItem
fields = ["notes"]
fields = ["user", "book", "book_list", "notes"]
class GroupForm(CustomForm):