Simple Django app to manage contact requests
Project description
Django Tools Contact Requests
Simple Django app to manage contact requests
Installation
-
Install with pip install
django-tools-contact-requests. -
Add
djtools.contactrequeststo your INSTALLED_APPS setting like this:
INSTALLED_APPS = [
...
'djtools.contactrequests',
]
- 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"]
-
It has a dependency over
django-recaptcha. Follow their instructions as well: Django ReCaptcha. -
You can use the
ContactRequestViewlike this:
from djtools.contactrequests.views import ContactRequestView
urlpatterns = [
path('contact/', ContactRequestView.as_view(), name='contact'),
]
- Run
python manage.py migrateto create the contact models.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file django-tools-contact-requests-1.0.2.tar.gz.
File metadata
- Download URL: django-tools-contact-requests-1.0.2.tar.gz
- Upload date:
- Size: 7.4 kB
- Tags: Source
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
62c06a7c1b54c8e0334149aa0cd90b34445deb7831e9e3423d3f331fa062c677
|
|
| MD5 |
b316ef1f0f031fac85e48172a9e8f430
|
|
| BLAKE2b-256 |
c060c18e2c3a7e5542acfc73cd4c114059cfb25fa90fbef456f53543507c920b
|
File details
Details for the file django_tools_contact_requests-1.0.2-py3-none-any.whl.
File metadata
- Download URL: django_tools_contact_requests-1.0.2-py3-none-any.whl
- Upload date:
- Size: 12.3 kB
- Tags: Python 3
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c786871042ddef265d44d4c5b19190a28c20ccc1ed91a2c1b9f06b12cc07e58f
|
|
| MD5 |
f55afa22e8375c1c9dd3ed9611abb8cd
|
|
| BLAKE2b-256 |
d42757d1aaf2a0b95cf2b904b1c85c3e12fa8c5ba1b1b6f20505af0cfd0d5eb3
|