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.0.tar.gz (33.7 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.0-py3-none-any.whl (23.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: django_contact_form-5.0.0.tar.gz
  • Upload date:
  • Size: 33.7 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.0.tar.gz
Algorithm Hash digest
SHA256 f8859d5c6163e6829b9da97920f88f42f89671313dc7aa5221b36e10a009eaa2
MD5 f52dc5ad751e78c35a50a37e3573d920
BLAKE2b-256 fbd131ded422f3bd0a1ffd871230608c5f0df5b53efac1ae19e89e6c675262cd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for django_contact_form-5.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 33ca78f666db4223ef8e658aa9dc4a79d51ccf795491bad640961b241e07c66e
MD5 54c6049dafca5d304a484a55d3745f70
BLAKE2b-256 56108e62028b34356ce08da6dfb5c48cae704e5b619453792c93dc004aaf73f7

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