Fix inheritance in forms
This commit is contained in:
parent
5876525b8e
commit
e294221748
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ class EditSuppliesForm(forms.ModelForm):
|
|||
exclude = ['done']
|
||||
|
||||
|
||||
class AddSuppliesForm(forms.ModelForm):
|
||||
class AddSuppliesForm(EditSuppliesForm):
|
||||
class Meta(EditSuppliesForm.Meta):
|
||||
pass
|
||||
|
||||
|
|
Loading…
Reference in a new issue