django-tools-contact-requests 1.0.2

Creator: codyrutscher

Last updated:

Add to Cart

Description:

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.

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.