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.

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 farm-contact, version 0.9.1
Filename, size & hash File type Python version Upload date
farm_contact-0.9.1-py2.7.egg (10.1 kB) View hashes Egg 2.7
farm-contact-0.9.1.tar.gz (4.1 kB) View hashes Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page