Converts create readthrough to modal

This commit is contained in:
Mouse Reeve
2022-01-11 09:50:04 -08:00
parent 4ba375892a
commit 0d2c6e63d1
7 changed files with 75 additions and 42 deletions

View File

@ -478,3 +478,8 @@ class SortListForm(forms.Form):
("descending", _("Descending")),
),
)
class ReadThroughForm(CustomForm):
class Meta:
model = models.ReadThrough
fields = ["user", "book", "start_date", "finish_date"]