djangotoolscontactrequests 1.0.2
Django Tools Contact Requests
Simple Django app to manage contact requests
Installation
Install with pip install django-tools-contact-requests.
Add djtools.contactrequests to 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 ContactRequestView like this:
from djtools.contactrequests.views import ContactRequestView
urlpatterns = [
path('contact/', ContactRequestView.as_view(), name='contact'),
]
Run python manage.py migrate to create the contact models.
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.