web.forms.correspondent_forms.BaseCorrespondentForm module¶
Module with the BaseCorrespondentForm form class.
- class web.forms.correspondent_forms.BaseCorrespondentForm.BaseCorrespondentForm(*args, **kwargs)[source]¶
Bases:
RequiredMarkerModelFormThe form for
core.models.Correspondent.Exposes all fields from the model that may be changed by the user. Other forms for
core.models.Correspondentshould inherit from this.- class Meta[source]¶
Bases:
objectMetadata class for the form.
Other form metaclasses should inherit from this. These submetaclasses must not expose fields that are not listed here.
- model¶
The model behind the form.
alias of
Correspondent
- fields: ClassVar[list[str]] = ['real_name']¶
Exposes only the
core.models.Correspondent.Correspondent.real_namefield.
- localized_fields = '__all__'¶
Localize all fields.
- _meta = <django.forms.models.ModelFormOptions object>¶
- base_fields = {'real_name': <django.forms.fields.CharField object>}¶
- declared_fields = {}¶
- property media¶
Return all media required to render the widgets on this form.