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

Uploaded Source

Built Distribution

django_contact_form-5.1.0-py3-none-any.whl (23.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: django_contact_form-5.1.0.tar.gz
  • Upload date:
  • Size: 33.9 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.0.tar.gz
Algorithm Hash digest
SHA256 53d4fd66fde31f4baf16287fa83ffb711c3d96412aec3b4a161e42135797c2c0
MD5 67d5b9fc949097ce183887bdc7eeccd9
BLAKE2b-256 0ec6092b99aa615da2a29bbeff9cc8ac199021ab1a73ea262f0f4fc9f9c53309

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for django_contact_form-5.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 415f5a89dea691b77b2afd739b382bb521cb7393ca16ee898e9b95ad538089e2
MD5 61c594f0bed872fc29abfd92570d25a1
BLAKE2b-256 4516060b456ed6e404167d4911963ea6fe9fb514580c3981a704be90d422079a

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