app/projrev/views/helpers/forms.py
changeset 38 3cb38edbe05f
parent 30 94fe7fe7394d
child 39 e7880a8f7e04
equal deleted inserted replaced
37:e78a5483553e 38:3cb38edbe05f
    25     # use Project model here.
    25     # use Project model here.
    26     model = Project
    26     model = Project
    27 
    27 
    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 = ('title', 'line_item', 'institution', 'address', 'city',
    31               'district', 'mobile_num', 'fax_num')
    31               'pin_code', 'state', 'district', 'mobile_num', 'fax_num')
    32 
    32 
    33 
    33 
    34 class ReviewForm(forms.ModelForm):
    34 class ReviewForm(forms.ModelForm):
    35   """Creates a form for review of proposal.
    35   """Creates a form for review of proposal.
    36   """
    36   """