funders.forms module¶
-
class
funders.forms.
FunderRegistrySearchForm
(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, field_order=None, use_required_attribute=None, renderer=None)[source]¶ Bases:
django.forms.forms.Form
-
base_fields
= {'name': <django.forms.fields.CharField object>}¶
-
declared_fields
= {'name': <django.forms.fields.CharField object>}¶
-
property
media
¶
-
-
class
funders.forms.
FunderForm
(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)[source]¶ Bases:
django.forms.models.ModelForm
-
class
Meta
[source]¶ Bases:
object
-
model
¶ alias of
funders.models.Funder
-
fields
= ['name', 'acronym', 'identifier']¶
-
-
base_fields
= {'acronym': <django.forms.fields.CharField object>, 'identifier': <django.forms.fields.CharField object>, 'name': <django.forms.fields.CharField object>}¶
-
declared_fields
= {}¶
-
property
media
¶
-
class
-
class
funders.forms.
FunderSelectForm
(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, field_order=None, use_required_attribute=None, renderer=None)[source]¶ Bases:
django.forms.forms.Form
-
base_fields
= {'funder': <django.forms.models.ModelChoiceField object>}¶
-
declared_fields
= {'funder': <django.forms.models.ModelChoiceField object>}¶
-
property
media
¶
-
-
class
funders.forms.
FunderOrganizationSelectForm
(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)[source]¶ Bases:
django.forms.models.ModelForm
-
class
Meta
[source]¶ Bases:
object
-
model
¶ alias of
funders.models.Funder
-
fields
= []¶
-
-
base_fields
= {'organization': <django.forms.models.ModelChoiceField object>}¶
-
declared_fields
= {'organization': <django.forms.models.ModelChoiceField object>}¶
-
property
media
¶
-
class
-
class
funders.forms.
GrantForm
(*args, **kwargs)[source]¶ Bases:
scipost.forms.HttpRefererFormMixin
,django.forms.models.ModelForm
-
class
Meta
[source]¶ Bases:
object
-
model
¶ alias of
funders.models.Grant
-
fields
= ['funder', 'number', 'recipient_name', 'recipient', 'further_details']¶
-
-
base_fields
= {'funder': <django.forms.models.ModelChoiceField object>, 'further_details': <django.forms.fields.CharField object>, 'number': <django.forms.fields.CharField object>, 'recipient': <django.forms.models.ModelChoiceField object>, 'recipient_name': <django.forms.fields.CharField object>}¶
-
declared_fields
= {}¶
-
property
media
¶
-
class
-
class
funders.forms.
GrantSelectForm
(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, field_order=None, use_required_attribute=None, renderer=None)[source]¶ Bases:
django.forms.forms.Form
-
base_fields
= {'grant': <django.forms.models.ModelChoiceField object>}¶
-
declared_fields
= {'grant': <django.forms.models.ModelChoiceField object>}¶
-
property
media
¶
-