Skip to main content

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

jon@wearefarm.com

Project details


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.1.tar.gz (4.1 kB view hashes)

Uploaded Source

Built Distribution

farm_contact-0.9.1-py2.7.egg (10.1 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page