app/projrev/views/helpers/forms.py
changeset 24 7257b66a6766
parent 19 0c9bdcfac9f7
child 26 97bd3c28c957
equal deleted inserted replaced
23:91cf6872d853 24:7257b66a6766
    14 
    14 
    15 class ProposalForm(forms.ModelForm):
    15 class ProposalForm(forms.ModelForm):
    16   """Creates a form for the project.
    16   """Creates a form for the project.
    17   """
    17   """
    18 
    18 
    19   document = forms.FileField(required=False)
    19   document = forms.FileField(required=False, help_text='Select the document path from your local file system.')
    20 
    20 
    21   class Meta:
    21   class Meta:
    22     # We store most of the data in Project model. So even though the
    22     # We store most of the data in Project model. So even though the
    23     # name and the purpose of the form is for Proposal acceptance, we
    23     # name and the purpose of the form is for Proposal acceptance, we
    24     # use Project model here.
    24     # use Project model here.