From 473b3678fb71105d7449ac575639793e645f5c35 Mon Sep 17 00:00:00 2001 From: Jorran de Wit <jorrandewit@outlook.com> Date: Mon, 30 Oct 2017 10:31:09 +0100 Subject: [PATCH] Alter Contributor set --- colleges/forms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/colleges/forms.py b/colleges/forms.py index 3de926d4c..3c1c8f311 100644 --- a/colleges/forms.py +++ b/colleges/forms.py @@ -21,7 +21,7 @@ class AddFellowshipForm(forms.ModelForm): def __init__(self, *args, **kwargs): super().__init__(*args, **kwargs) - self.fields['contributor'].queryset = Contributor.objects.fellows() + self.fields['contributor'].queryset = Contributor.objects.active() self.fields['contributor'].label = "Fellow" def clean(self): -- GitLab