From 99abfbfc2f79e777c71dfbd5586f66ac9810c24a Mon Sep 17 00:00:00 2001 From: Piotr Gawron <piotr.gawron@uni.lu> Date: Tue, 28 Nov 2017 12:03:53 +0100 Subject: [PATCH] StudySubjectAddForm doesn't have dead field anymore --- smash/web/forms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/smash/web/forms.py b/smash/web/forms.py index 86181a51..2c2ed3d4 100644 --- a/smash/web/forms.py +++ b/smash/web/forms.py @@ -80,7 +80,7 @@ class StudySubjectAddForm(ModelForm): class Meta: model = StudySubject fields = '__all__' - exclude = ['dead', 'resigned', 'resign_reason'] + exclude = ['resigned', 'resign_reason'] def __init__(self, *args, **kwargs): user = kwargs.pop('user', None) -- GitLab