InstallationΒΆ

Install via pip:

pip install django-cccontact

Next add cccontact & mailer to your settings.INSTALLED_APPS:

INSTALLED_APPS = (
    #...
    'cccontact',
    'mailer',
    #...
)

Note

Remember that in production you’ll have to make sure that the django-mailer is being called at timely intervals to send the mail queue.

Wire it up to your root urls.py:

urlpatterns += ('',
    #...
    ('^contact/',
        include('cccontact.urls', namespace='ccccontact')),
)

Note

The namespace in the urls is none negotiable, it has to be cccontact

Then run syncdb:

python manage.py syncdb

Finally you’ll need to run the collectstatic command to get all of the static files into your static root:

python manage.py collectstatic