Specify exclude Meta on form definitions
This commit is contained in:
parent
5689ed2b51
commit
d4cba204c1
1 changed files with 2 additions and 0 deletions
|
@ -14,6 +14,7 @@ class AddListForm(ModelForm):
|
|||
|
||||
class Meta:
|
||||
model = List
|
||||
exclude = []
|
||||
|
||||
|
||||
class AddItemForm(ModelForm):
|
||||
|
@ -44,6 +45,7 @@ class AddItemForm(ModelForm):
|
|||
|
||||
class Meta:
|
||||
model = Item
|
||||
exclude = []
|
||||
|
||||
|
||||
class EditItemForm(ModelForm):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue