Settings#

Default application settings#

These are the default settings you can override in your own project settings right after the line which load the default app settings.

request_form.settings.REQUEST_FORM_BANNED_TLD = ()#

All email addresses that end with these strings are not allowed to submit forms by email.

Example :

REQUEST_FORM_BANNED_TLD = (".ru", "qq.com")
request_form.settings.REQUEST_FROM_EMAIL = 'request-form-from@localhost'#

Address used to send email notification.

request_form.settings.REQUEST_TO_EMAIL = ('request-form-to@localhost',)#

List of addresses used as recipients for email notification. Set it to None or False to disable email sending.

request_form.settings.REQUEST_EMAIL_SUBJECT = 'Website request form'#

Subject to add to email message.

request_form.settings.REQUEST_FORM_HELPER = None#

Python path to a crispy-form class helper instead of default one.

This must be a class compatible with FormHelper.

Your class helper will have to manage attribute form_action, form_tag and buttons itself.