Skip to content

Latest commit

 

History

History
73 lines (54 loc) · 2.33 KB

README.rst

File metadata and controls

73 lines (54 loc) · 2.33 KB

django-envelope

Latest PyPI version Number of PyPI downloads Supported Python versions Wheel Status https://travis-ci.org/zsiciarz/django-envelope.png?branch=develop https://coveralls.io/repos/zsiciarz/django-envelope/badge.png

django-envelope is a simple contact form app for Django web framework.

Basic usage

  1. Install with pip install django-envelope.

  2. Add envelope to your INSTALLED_APPS.

  3. 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.

  4. 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.

Resources

Authors

django-envelope was created by Zbigniew Siciarz and is now maintained by SebCorbin. See AUTHORS.rst for a full list of contributors.

License

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