Skip to content

ArabellaTech/contactBox

Repository files navigation

Contact Box

https://travis-ci.org/ArabellaTech/contactbox.png?branch=master https://coveralls.io/repos/ArabellaTech/contactbox/badge.png?branch=master

To use as standard contact form replacement

Django configured properly for sending emails. Sites framework. Cron support - check conf.cron.

EMAIL_FROM

SITE_ID

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