Skip to main content

A generic contact-form application for Django.

Project description

CI status image

django-contact-form provides customizable contact-form functionality for Django-powered sites.

This application includes:

  • An extensible base contact-form class which is also usable as-is for basic functionality (collecting a name, email address, and message)

  • A subclass of the base form which uses the Akismet spam-filtering service to detect and reject spam submissions

  • A class-based Django view which can be used with either of the built-in contact form classes, or your own customized form

For the default contact-form functionality, add "django_contact_form" to your Django site’s INSTALLED_APPS setting, add the following line to your site’s root URLConf, and create the templates specified in the usage guide:

from django.urls import include, path


urlpatterns = [
    # ... other URL patterns for your site ...
    path("contact/", include("django_contact_form.urls")),
]

Full documentation for all functionality is available online.

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_contact_form-5.1.1.tar.gz (38.6 kB view details)

Uploaded Source

Built Distribution

django_contact_form-5.1.1-py3-none-any.whl (24.2 kB view details)

Uploaded Python 3

File details

Details for the file django_contact_form-5.1.1.tar.gz.

File metadata

  • Download URL: django_contact_form-5.1.1.tar.gz
  • Upload date:
  • Size: 38.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.0

File hashes

Hashes for django_contact_form-5.1.1.tar.gz
Algorithm Hash digest
SHA256 3d90f7662f266927f219757dbb3b807647e02e44284be5376f819760eed21c81
MD5 b9df716aaa5e5b846d6d811ed49a639f
BLAKE2b-256 38a3785f8da335063ffb10f6b00086e6751d8fbfefd952188925bbe726c92974

See more details on using hashes here.

File details

Details for the file django_contact_form-5.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for django_contact_form-5.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7ba4c61a50c24b2ad78cd6e60c34da80033bcd082f32d1f9c33e6753352b11f0
MD5 ba43d530b125cf3d3e565f498b89d167
BLAKE2b-256 5dae9c336a947c18524ec8547f61dad1e07654f15a301475acfa7654523e3530

See more details on using hashes here.

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