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

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page