swh.web.inbound_email.views module#
- class swh.web.inbound_email.views.InboundEmailForm(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:
Form
- base_fields = {'email': <django.forms.fields.FileField object>, 'shared_key': <django.forms.fields.CharField object>}#
- declared_fields = {'email': <django.forms.fields.FileField object>, 'shared_key': <django.forms.fields.CharField object>}#
- property media#
Return all media required to render the widgets on this form.
- class swh.web.inbound_email.views.InboundEmailView(**kwargs)[source]#
Bases:
FormMixin
,ProcessFormView
Constructor. Called in the URLconf; can contain helpful extra keyword arguments, and other things.
- form_class#
alias of
InboundEmailForm
- success_url = '/'#