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

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: django_contact_form-5.0.1.tar.gz
  • Upload date:
  • Size: 33.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.0

File hashes

Hashes for django_contact_form-5.0.1.tar.gz
Algorithm Hash digest
SHA256 45e3dada08c1a56e63a4ab75fe616ca9c528a69a840f946da23dd3cd9a80dc39
MD5 10f550ff84e8b0c762c1d13b269f5e45
BLAKE2b-256 e9665d6cb9d70087459c4db395129351c7eda8949284c069faf07c1e05be08d6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for django_contact_form-5.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f7b5c01404f08badc28a7b31aed5df11539b2a5c00a7a6596c0b9faf3743808d
MD5 8e3072c34d902d28da467839c21f3269
BLAKE2b-256 00dd8f5fcee23de72df5636a7211bc881e2403893ec2e534da135442461de23d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page