web.forms.mailbox_forms package

web.forms.mailbox_forms package containing forms for the core.models.Mailbox data.

class web.forms.mailbox_forms.BaseMailboxForm(*args, **kwargs)[source]

Bases: RequiredMarkerModelForm

The base form for core.models.Mailbox.

Exposes all fields from the model that may be changed by the user. Other forms for core.models.Mailbox should inherit from this.

Parameters:
class Meta[source]

Bases: object

Metadata class for the base form.

Other form metaclasses should inherit from this. These submetaclasses must not expose fields that are not listed here.

model

alias of Mailbox

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.

Submodules