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!

Twitter Bootstrap Layout for Django Contact Form

Project Description

Twitter Bootstrap templates for django-contact-form.


  • Python 2.7 or >=3.3.
  • Django >=1.6


Installation via:

pip install django-contact-form-bootstrap==0.1a1

The templates extend base.html, so the templates folder of the project should provide one, together with the Twitter Bootstrap and a JQuery library.

Then add 'bootstrapform' and 'contact_form_bootstrap' to INSTALLED_APPS, before 'contact_form'. The order is important because following apps are overwritten:

    # ...
    'django.contrib.sites',  # For ``contact_form``.

    # ...

For contact_form itself, remember to add the following settings:


Example Project

The example project can be run to have a quick look and to check out a running setup. Download the source files and run:

virtualenv -p /usr/bin/python3 ~/myenv
source ~/myenv/bin/activate
pip install -r requirements.txt
./ migrate
./ runserver


To use custom templates, there are two ways to accomplish that:

  1. Overwrite a template at templates/contact_form to replace them completely.
  2. Inherit a template from templates/contact_form to overwrite only one or more of its blocks. Defining a custom URL pointing at the custom template is necessary then.

Release History

This version
History Node


Download Files

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

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
(4.9 kB) Copy SHA256 Hash SHA256
Source None May 24, 2015

Supported By

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 Google Google Cloud Servers