Django Contact Form with Google Recaptcha v3 - integration.
Project description
Django-contact-form is a simple Django Contact Form with Google Recaptcha v3 - integration.
Quick start
Add “form” to your INSTALLED_APPS setting like this:
INSTALLED_APPS = [ ... 'contact-form', ]
Include the polls URLconf in your project urls.py like this:
path('', include('contact-form.urls')),
Run python manage.py migrate to create the form models.
For finding Templates add this line into TEMPLATES in settings.py:
TEMPLATES = [ { ... 'DIRS': [os.path.join(BASE_DIR, 'templates')], ... } ]
To setup Email and Recaptcha just paste this code with your keys in settings.py:
EMAIL_HOST = 'smtp.foo.com' EMAIL_USE_TLS = True EMAIL_PORT = 587 EMAIL_HOST_USER = 'foo@gfoo.com' EMAIL_HOST_PASSWORD = 'swordfish' RECAPTCHA_SITE_KEY = "" RECAPTCHA_SECRET_KEY = ""
Visit http://127.0.0.1:8000/contact/ to check the contact-form.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Close
Hashes for django-contact-recaptcha-v3-1.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9165ec0909048a588a4ce7b7f5f8bec6a70883e5c8297951926cdf03bcdb8e0a |
|
MD5 | 6d4756028ae5e49002ca6c135bd8d237 |
|
BLAKE2b-256 | 1f37c1a8aac6228d96e8846e944e71cc41cf62d37966366636007e02f747cd98 |