Pluggable contact app for Django with support for in-DB inboxes and topic-based addressing
Project description
Pluggable Django app for contact forms with database-based inbox and support for topic-based sorting and sending to multiple recipients based on topic. Fully i18n-enabled and supports South migrations. It supports HTML emails and automatic conversion of HTML email to plain-text.
This code is still in early development, so there are things that don’t work as expected (if at all). Do not expect it to be production-ready until v0.1.
Overview
django-pluggable-contact should be fairly flexible. It is designed to be able to handle anything from a very simple contact form to scenarios where you may want to send different messages to different recipients.
Although it uses the Message models to store messages in the database, it is optional. You can send out a message even if the object is not saved. Topics are also optional. If you don’t want the complexity of topics, you can disable them completely and they won’t show up in the admin or the contact form.
While more features will be added to this app as time goes, the overhead of additional features will be kept to minimum or eliminated by using appropriate settings for enabling them and having them disabled by default. On the other hand, this app will always be just a contacts app.
TODO
Better docs
Unit tests
Add support for configuring multiple email accounts
Installation
TODO
Add the contact app to INSTALLED_APPS and call the syncdb management command or migrate using South.
Map the URLs like so:
url(r'^contact/', include('contact.urls'))
You can also include the URL in i18n_patterns as the URLs are fully translatable.
Basic usage
At very least, you want to override the provided basic templates. Please look at the contact/templates directory.
Settings
TODO
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Hashes for django-pluggable-contact-0.0.8.zip
Algorithm | Hash digest | |
---|---|---|
SHA256 | a6f1a8c4057b90c0b3d04da9c6a5da1b8c111fd18c8e6b4d2d4d053669eaae10 |
|
MD5 | 84692db0c6fc3d5f963b7407bdc7bd36 |
|
BLAKE2b-256 | a428c07df1ddbaacb18f8afecf8720e4e46a5adf3499fc511a3225805ecba3ce |
Hashes for django-pluggable-contact-0.0.8.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2f7f12f7e28e91a2e8840f9bb5abb1584a89a08f46c0574ded4d6706b1ee414c |
|
MD5 | ad1ded37cee8da2ecb07d107eb99e5bf |
|
BLAKE2b-256 | 36ba72d6b7087a9f17a8f4cff6b3ef10d036ae3df08540d1018d0d8bcd93f822 |