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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Egg

File details

Details for the file farm-contact-0.9.1.tar.gz.

File metadata

  • Download URL: farm-contact-0.9.1.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for farm-contact-0.9.1.tar.gz
Algorithm Hash digest
SHA256 75c41d8753d4d402c8b39c517c3ada2db7be27995107a780aa200d17260e3bf4
MD5 3e54acfc3bb507a3f62b4d2113cb9bc2
BLAKE2b-256 1594e94bc8a5ba928b889943b1007bd1a0a53ed0681565bd6c855f5e0fc0a035

See more details on using hashes here.

File details

Details for the file farm_contact-0.9.1-py2.7.egg.

File metadata

File hashes

Hashes for farm_contact-0.9.1-py2.7.egg
Algorithm Hash digest
SHA256 7390250d138dda3866f8b362bb44c103b4b520355397cbba9368de3a95989947
MD5 5a72ad68872ce72378acd30dca94f09f
BLAKE2b-256 d49d159a52b1c3889da5ba65e3cf4175a260aee9807549f93fa7a2749086c051

See more details on using hashes here.

Supported by

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