contactbox
Project description
To use as standard contact form replacement
Requirements
Django configured properly for sending emails. Sites framework. Cron support - check conf.cron.
Settings
EMAIL_FROM
SITE_ID
Usage
Add contactbox into INSTALLED_APPS in settings.py.
in views.py:
from contactbox.views import ContactFormView from contactbox.forms import ContactForm class ContactView(ContactFormView): template_name = 'contact.html' form_class = ContactForm
Please also check:
https://github.com/YD-Technology/contactbox/blob/master/contactbox/views.py
https://github.com/YD-Technology/contactbox/blob/master/test_project/templates/contact.html
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
contactbox-0.1.8.tar.gz
(7.2 kB
view details)
File details
Details for the file contactbox-0.1.8.tar.gz
.
File metadata
- Download URL: contactbox-0.1.8.tar.gz
- Upload date:
- Size: 7.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ff64e55e91b3577b9a0203247ed7cb28df2951fb77f86820cbe5d6d4e2d3e8d2 |
|
MD5 | a9f12b9166cd8c47c3b5d377b0198d85 |
|
BLAKE2b-256 | 87c8e27bb932fd42d3165dcdafd55ecfcd4f339cecca25be9b02d5b2c2f161fe |