SciPost Code Repository

Skip to content
Snippets Groups Projects
Commit 774c6f6d authored by Jean-Sébastien Caux's avatar Jean-Sébastien Caux
Browse files

Merge branch 'hotfix_JSC_20170726'

parents ac4d671e fb0aaad8
No related branches found
No related tags found
No related merge requests found
...@@ -23,7 +23,8 @@ class GrantForm(forms.ModelForm): ...@@ -23,7 +23,8 @@ class GrantForm(forms.ModelForm):
def __init__(self, *args, **kwargs): def __init__(self, *args, **kwargs):
super(GrantForm, self).__init__(*args, **kwargs) super(GrantForm, self).__init__(*args, **kwargs)
self.fields['recipient'] = forms.ModelChoiceField( self.fields['recipient'] = forms.ModelChoiceField(
queryset=Contributor.objects.all().order_by('user__last_name')) queryset=Contributor.objects.all().order_by('user__last_name'),
required=False)
class GrantSelectForm(forms.Form): class GrantSelectForm(forms.Form):
......
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