skip to navigation
skip to content

bitmazk-contact-form 1.1

A reusable contact form app for Django. Can be used with a modern user-friendly spam protection.


A reusable contact form app for Django. Can be used with a modern user-friendly
spam protection. Ready for multilingual sites.

At the moment this contact form does not redirect to a success page. Instead
it adds a variable ``success`` to the template context. The developer can then
just output some success message next to the form.

The project can be used in conjunction with `django-cms
<https:"" divio="" django-cms="">`_. Therefore the package comes with a
```` file and can be integrated into your CMS pages via an AppHook.

The code is heavily influenced by the wonderful `django-contact-form
<https:"" jezdez="" django-contact-form="">`_ of `Jannis Leidel
<https:"" jezdez="">`_. We just applied our own coding standards and
ported it to Class Based Generic Views.


- see requirements.txt


If you want to install the latest stable release from PyPi:

$ pip install bitmazk-contact-form

If you feel adventurous and want to install the latest commit from GitHub:

$ pip install -e git://

Add ``contact_form`` to your ``INSTALLED_APPS``::


Add ``CONTACT_FORM_RECIPIENTS`` to your ````::

('Foo Bar', ''),

Make sure to have a block called ``contact_form`` in your template::

{% block contact_form %}

If the output does not fit your needs, just override the templates provided by
this package.

Add the relevant css sheet::

<link href="{% static " contact_form="" css="" contact_form.css"="" %}"="" type="text/css" media="all" rel="stylesheet"/>


* Create a CMS page, assign it to the template that has the ``contact_form``
block and add the ``Contact Form AppHook`` to the page.


Set ``CONTACT_FORM_DISPLAY_CATEGORIES=True`` if you want the form to include a
list of categories the users request is about.

The categories are stored as master data and you can add them via the Django
admin under ``contact_form > ContactFormCategory``.  
File Type Py Version Uploaded on Size
bitmazk-contact-form-1.1.tar.gz (md5) Source 2016-04-11 20KB
  • Downloads (All Versions):
  • 0 downloads in the last day
  • 0 downloads in the last week
  • 478 downloads in the last month