app/projrev/views/helpers/forms.py
changeset 30 94fe7fe7394d
parent 26 97bd3c28c957
child 38 3cb38edbe05f
equal deleted inserted replaced
29:425626c7f63e 30:94fe7fe7394d
    28     # fields in the Project that must not appear in the form, but have
    28     # fields in the Project that must not appear in the form, but have
    29     # be automatically generated.
    29     # be automatically generated.
    30     fields = ('line_item', 'institution', 'state', 
    30     fields = ('line_item', 'institution', 'state', 
    31               'district', 'mobile_num', 'fax_num')
    31               'district', 'mobile_num', 'fax_num')
    32 
    32 
       
    33 
    33 class ReviewForm(forms.ModelForm):
    34 class ReviewForm(forms.ModelForm):
    34   """Creates a form for review of proposal.
    35   """Creates a form for review of proposal.
    35   """
    36   """
    36 
    37 
    37   project = forms.ModelChoiceField(queryset=Project.objects.all(), 
    38   project = forms.ModelChoiceField(queryset=Project.objects.all(),