Skip to main content

A Django app to display simple contact form.

Project description

Build status Documentation Status

Django app to manage simple contact form On Django >= 3 projects.

Detailed documentation is in the “docs” directory.

Quick start

  1. Install the app using pip

pip install django-contactform
  1. Add ‘contactform’ to your INSTALLED_APPS settings like this

INSTALLED_APPS = [
    ...
    'contactform',
]
  1. Configure the recipients of your form in your settings

CONTACTFORM_RECIPIENTS = ['me@example.com']
  1. Include the contactform URLconf in your project urls.py like

path('contact/', include('contactform.urls')),
  1. Add a form to your page using the contact_form template tag

{% load contact_form %}

{% contact_form %}

The MIT License (MIT)

Copyright (c) 2020 Guillaume Luchet

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Project details


Download files

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

Source Distribution

django-contactform-2.2.1.tar.gz (14.3 kB view hashes)

Uploaded Source

Built Distribution

django_contactform-2.2.1-py3-none-any.whl (15.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page