Skip to content

Latest commit

 

History

History
72 lines (53 loc) · 2.26 KB

README.rst

File metadata and controls

72 lines (53 loc) · 2.26 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 is maintained by Zbigniew Siciarz. 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).