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.
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)
| File | Size | Uploaded | |
|---|---|---|---|
| django-tools-contact-requests-1.0.2.tar.gz | 7.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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
|