Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Django Contact Form Application

Project Description

Display a basic contact form.


A demo is available here


From PyPI

pip install django-contactform

From Source:

python install


Edit your file and add geelweb.django.contactform to the INSTALLED_APPS

Settings properties

CONTACTFORM_RECIPIENTS: list of email address the messages will be sent.


CONTACTFORM_SUBJECT_PREFIX: A prefix to add to the email subject

CONTACTFORM_SUBJECT_PREFIX = 'mail from contactform'

Edit your and add the following line

url(r'^contact/$', '', name='contact'),


Create a contactform/contact.html template

<form action="{% url 'contact' %}" method="post">
    {% csrf_token %}
    {{ form.as_p }}
    <input type="submit" value="Submit" />

Then a contactform/thanks.html template

<h1>Thanks for your message</h1>
<div>Your message has been sent, we'll try to answer you as quickly as possible.</div>


Finaly check you configured django.core.mail


Run unit-tests

python tests/
Release History

Release History

This version
History Node


History Node


History Node


History Node


History Node


Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
django-contactform-1.0.tar.gz (4.8 kB) Copy SHA256 Checksum SHA256 Source Oct 25, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting