skip to navigation
skip to content

contactBox 0.1.8

contactbox

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

 
File Type Py Version Uploaded on Size
contactbox-0.1.8.tar.gz (md5) Source 2016-01-04 7KB