diff --git a/colleges/forms.py b/colleges/forms.py index 3f620b09b2c4666bab97ea0aff5d4ea278aad4f1..8ae4792547569607e322e66bde2b398be7275335 100644 --- a/colleges/forms.py +++ b/colleges/forms.py @@ -116,7 +116,7 @@ class FellowVotingRemoveSubmissionForm(forms.ModelForm): class FellowshipAddSubmissionForm(forms.ModelForm): submission = forms.ModelChoiceField( - queryset=None, to_field_name='preprint__identifier_w_vn_nr', + queryset=Submission.objects.none(), empty_label="Please choose the Submission to add to the pool") class Meta: @@ -136,8 +136,9 @@ class FellowshipAddSubmissionForm(forms.ModelForm): class SubmissionAddFellowshipForm(forms.ModelForm): - fellowship = forms.ModelChoiceField(queryset=None, to_field_name='id', - empty_label="Please choose the Fellow to add to the Pool") + fellowship = forms.ModelChoiceField( + queryset=None, to_field_name='id', + empty_label="Please choose the Fellow to add to the Pool") class Meta: model = Submission @@ -201,8 +202,9 @@ class FellowshipRemoveProceedingsForm(forms.ModelForm): class FellowshipAddProceedingsForm(forms.ModelForm): - proceedings = forms.ModelChoiceField(queryset=None, to_field_name='id', - empty_label="Please choose the Proceedings to add to the Pool") + proceedings = forms.ModelChoiceField( + queryset=None, to_field_name='id', + empty_label="Please choose the Proceedings to add to the Pool") class Meta: model = Fellowship