grants.forms

Define the Grant forms.

Copyright (C) 2018 Gitcoin Core

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License along with this program. If not, see http://www.gnu.org/licenses/.

GrantForm

GrantForm(self, data=None, files=None, auto_id='id_%s', prefix=None, initial=None, error_class=<class 'django.forms.utils.ErrorList'>, label_suffix=None, empty_permitted=False, instance=None, use_required_attribute=None, renderer=None)

Define the Grant form logic.

base_fields

Dictionary that remembers insertion order

declared_fields

Dictionary that remembers insertion order

Meta

GrantForm.Meta(self, /, *args, **kwargs)

Define the metadata for the Grant model form.

MilestoneForm

MilestoneForm(self, data=None, files=None, auto_id='id_%s', prefix=None, initial=None, error_class=<class 'django.forms.utils.ErrorList'>, label_suffix=None, empty_permitted=False, instance=None, use_required_attribute=None, renderer=None)

Define the Milestone form logic.

base_fields

Dictionary that remembers insertion order

declared_fields

Dictionary that remembers insertion order

Meta

MilestoneForm.Meta(self, /, *args, **kwargs)

Define the metadata for the Milestone model form.