Provides an enquiry form
Project description
Overview
A django application which provides a contact form which sends an email and stores its details in the database.
Installation
Install with pip install farm-contact.
Add contact to your installed apps.
Add contact.context_processors.contact_form to your TEMPLATE_CONTEXT_PROCESSORS.
Set ENQUIRY_SUBJECT="Enquiry" or whatever you want it to be (defaults to Contact Form Enquiry).
Run manage.py syncdb.
Run manage.py migrate contact.
Usage
First you will need to add at least one Enquiry type in the admin. You can then either include the default template like this:
{% include 'contact/index.html' %}
Or create your own.
Contact
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
farm-contact-0.9.tar.gz
(4.1 kB
view hashes)
Built Distribution
farm_contact-0.9-py2.7.egg
(10.1 kB
view hashes)