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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: django_contact_form-5.2.0.tar.gz
  • Upload date:
  • Size: 39.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.0 CPython/3.13.0

File hashes

Hashes for django_contact_form-5.2.0.tar.gz
Algorithm Hash digest
SHA256 56a481891eeebdd5fcde247307437c919e4076e3d0e9eb3eb2a2194652943624
MD5 33aa3807e921c342379e1355fc1309a1
BLAKE2b-256 1e193c2980440af1fdc9dc3455093bfb6bd184f913a931b9dc70e969928db473

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for django_contact_form-5.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 400a5cb08d884230921c92c49b7a67db9e03e90860c60b5f35e23c16ba2db31e
MD5 93876e71337432f3d9e1e67b8c3298e0
BLAKE2b-256 2971a3c50a88e8cc4dace4740ad0bfc4ecce53cfb30b1653d2dcff9c7e4082c6

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 Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page