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.0.1.tar.gz (177.9 kB view details)

Uploaded Source

Built Distribution

django_contactform-2.0.1-py3-none-any.whl (14.4 kB view details)

Uploaded Python 3

File details

Details for the file django-contactform-2.0.1.tar.gz.

File metadata

  • Download URL: django-contactform-2.0.1.tar.gz
  • Upload date:
  • Size: 177.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.6

File hashes

Hashes for django-contactform-2.0.1.tar.gz
Algorithm Hash digest
SHA256 c590657d6c4983be82f449202378d0fac66bb6a067c5f8667287f883e2259ee2
MD5 3728e97c85dda4acd98cb361652d9410
BLAKE2b-256 1afa48d26119708cdd8059d46eb335db97b70e57f87959bbc8e70b3b2bdc1db4

See more details on using hashes here.

File details

Details for the file django_contactform-2.0.1-py3-none-any.whl.

File metadata

  • Download URL: django_contactform-2.0.1-py3-none-any.whl
  • Upload date:
  • Size: 14.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.6

File hashes

Hashes for django_contactform-2.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c4b451b06efe7093f4ea96d694f1c4f8c709db6d7735b89e3c16b8f72c5a9375
MD5 7bf4312447179b9a471b9d87f35f6009
BLAKE2b-256 252a67d7710031f67e625a0dcfd8ace5a3c71de3462ddafd1aedbb8b2473f31f

See more details on using hashes here.

Supported by

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