SciPost Code Repository

Skip to content
Snippets Groups Projects
Commit 94a8e265 authored by Jorran de Wit's avatar Jorran de Wit
Browse files

Field invalid form field key

parent 3921f113
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment