django-envelope
is a simple contact form app for Django web framework.
Install with
pip install django-envelope
.Add
envelope
to yourINSTALLED_APPS
.Create a template
envelope/contact.html
that contains somewhere a call to{% render_contact_form %}
template tag. This tag can be imported by placing{% load envelope_tags %}
at the top of your template.Hook the app's URLconf in your
urls.py
like this:urlpatterns = patterns('', #... (r'^contact/', include('envelope.urls')), #... )
See the docs for more customization options.
django-envelope is maintained by Zbigniew Siciarz. See AUTHORS.rst for a full list of contributors.
This work is released under the MIT license. A copy of the license is provided in the LICENSE file.
The HTML template comes from Open Source Template Project by sendwithus.com, distributed under the Apache 2.0 license (see the APACHE_LICENSE file for the full text).