Fix inheritance in forms

This commit is contained in:
Gabriel Augendre 2018-06-02 16:34:15 +02:00
parent 5876525b8e
commit e294221748

View file

@ -31,7 +31,7 @@ class EditSuppliesForm(forms.ModelForm):
exclude = ['done']
class AddSuppliesForm(forms.ModelForm):
class AddSuppliesForm(EditSuppliesForm):
class Meta(EditSuppliesForm.Meta):
pass