Skip to main content

A simple Django app that provides ability to send email about object, created using form

Project description

Django SendMail Form

This Django app provides the ability to send an email containing info about an object, that is created using form.


1. Install the package using pip::

pip install django-sendmail-form

2. Add the "sendmail_form" to your INSTALLED_APPS setting::


3. import the SendMailFormMixin::

from sendmail_form.forms import SendMailFormMixin

4. Inherit your form::

class MyForm(SendMailFormMixin, forms.ModelForm):
subject_template = "My feedback on {site_name}"
message_template = "Somebody left a message on {site}.<br>" \
"You can read it in admin panel.<br>" \

5. Have fun!

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for django-sendmail-form, version 0.1.1
Filename, size File type Python version Upload date Hashes
Filename, size django-sendmail-form-0.1.1.tar.gz (5.1 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page