django-contactform

A Django app to display simple contact form.


License
MIT
Install
pip install django-contactform==2.2.1

Documentation

ContactForm

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 %}