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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: django_contact_form-5.1.2.tar.gz
  • Upload date:
  • Size: 38.9 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.1.2.tar.gz
Algorithm Hash digest
SHA256 144a31b25a834dea715ed9a4400e11aa5555ba4f09a96fda395296c1b4a529cf
MD5 50aa89d1a8b815b82a8ac2432e471bc4
BLAKE2b-256 d0d72f5dfa2b65ec275cfa72f769ff72c90cf3442cdea1600b7a484ca83b4a11

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for django_contact_form-5.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 e859bf5f0868330ec1eec1d7a0c1fa3dae880417dbcf4ee8f0dc82589948b749
MD5 e39d178c8345f755a479b8ca7e3f5498
BLAKE2b-256 f703fb91ba6336fc6cd1e8d6e423232f96e1b3af6e26a7ec92632126f8011bb6

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