mails.forms module¶
-
class
mails.forms.
EmailForm
(*args, **kwargs)[source]¶ Bases:
django.forms.forms.Form
This form is prefilled with data from a mail_code and is used by any user to send out the mail after editing.
-
prefix
= 'mail_form'¶
-
extra_config
= {}¶
-
base_fields
= {'mail_field': <django.forms.fields.EmailField object>, 'subject': <django.forms.fields.CharField object>, 'text': <django.forms.fields.CharField object>}¶
-
declared_fields
= {'mail_field': <django.forms.fields.EmailField object>, 'subject': <django.forms.fields.CharField object>, 'text': <django.forms.fields.CharField object>}¶
-
property
media
¶
-
-
class
mails.forms.
HiddenDataForm
(form, *args, **kwargs)[source]¶ Bases:
django.forms.forms.Form
Regular Django form which tranforms all fields to hidden fields.
- BE AWARE: This form may only be used for non-sensitive data!
Any data that may not be interceptedby the used should NEVER be added to this form.
-
base_fields
= {}¶
-
declared_fields
= {}¶
-
property
media
¶