equal
deleted
inserted
replaced
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() |
19 document = forms.FileField(required=False) |
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. |