Skip to main content

Django Tools Contact Requests

Simple Django app to manage contact requests

Installation

  1. Install with pip install django-tools-contact-requests.

  2. Add djtools.contactrequests to your INSTALLED_APPS setting like this:

INSTALLED_APPS = [
    ...
    'djtools.contactrequests',
]
  1. Add your contact information in your project settings:
DJTOOLS_CONTACTREQUESTS_SITE_DOMAIN = "www.example.com"
DJTOOLS_CONTACTREQUESTS_MAIL_FROM = "no-reply@example.com"
DJTOOLS_CONTACTREQUESTS_MAIL_TO = ["admin@example.com"]
  1. It has a dependency over django-recaptcha. Follow their instructions as well: Django ReCaptcha.

  2. You can use the ContactRequestView like this:

from djtools.contactrequests.views import ContactRequestView


urlpatterns = [
    path('contact/', ContactRequestView.as_view(), name='contact'),
]
  1. Run python manage.py migrate to create the contact models.

Metadata

Release files for django-tools-contact-requests 1.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-tools-contact-requests 1.0.2
File Size Uploaded
django-tools-contact-requests-1.0.2.tar.gz 7.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for django-tools-contact-requests 1.0.2
File Interpreter ABI Platform
django_tools_contact_requests-1.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 19.6 kB

Release files / django-tools-contact-requests-1.0.2.tar.gz

Download URL django-tools-contact-requests-1.0.2.tar.gz
Size 7.4 kB
Tags Source
SHA-256 checksum
How to use checksums
62c06a7c1b54c8e0334149aa0cd90b34445deb7831e9e3423d3f331fa062c677
BLAKE2b-256 checksum
How to use checksums
c060c18e2c3a7e5542acfc73cd4c114059cfb25fa90fbef456f53543507c920b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.6.7

Release files / django_tools_contact_requests-1.0.2-py3-none-any.whl

Download URL django_tools_contact_requests-1.0.2-py3-none-any.whl
Size 12.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c786871042ddef265d44d4c5b19190a28c20ccc1ed91a2c1b9f06b12cc07e58f
BLAKE2b-256 checksum
How to use checksums
d42757d1aaf2a0b95cf2b904b1c85c3e12fa8c5ba1b1b6f20505af0cfd0d5eb3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.6.7

Release history Release notifications | RSS feed

This release

1.0.2 This release

2 release files

1.0.1

2 release files

1.0.0

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page