web.forms.mailbox_forms.BaseMailboxForm module¶
Module with the BaseMailboxForm form class.
- class web.forms.mailbox_forms.BaseMailboxForm.BaseMailboxForm(*args, **kwargs)[source]¶
Bases:
RequiredMarkerModelFormThe base form for
core.models.Mailbox.Exposes all fields from the model that may be changed by the user. Other forms for
core.models.Mailboxshould inherit from this.- class Meta[source]¶
Bases:
objectMetadata class for the base form.
Other form metaclasses should inherit from this. These submetaclasses must not expose fields that are not listed here.
- fields: ClassVar[list[str]] = ['save_to_eml', 'save_attachments']¶
Exposes all fields that the user should be able to change.
- localized_fields = '__all__'¶
Localize all fields.
- _meta = <django.forms.models.ModelFormOptions object>¶
- base_fields = {'save_attachments': <django.forms.fields.BooleanField object>, 'save_to_eml': <django.forms.fields.BooleanField object>}¶
- declared_fields = {}¶
- property media¶
Return all media required to render the widgets on this form.