Adds form and models for reading goal
This commit is contained in:
parent
3866523d57
commit
b648012af5
4 changed files with 67 additions and 1 deletions
|
@ -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']
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue