Adds form and models for reading goal

This commit is contained in:
Mouse Reeve
2021-01-16 08:18:54 -08:00
parent 3866523d57
commit b648012af5
4 changed files with 67 additions and 1 deletions

View File

@ -188,3 +188,8 @@ class ShelfForm(CustomForm):
class Meta:
model = models.Shelf
fields = ['user', 'name', 'privacy']
class GoalForm(CustomForm):
class Meta:
model = models.AnnualGoal
fields = ['user', 'year', 'goal']