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.6.zip
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5edc34ee69439c027483970fc9c4185f4a221c0a739a9102cf5d632a5fe0d369 |
|
MD5 | a203119d25ee6fc1d6b233d65ff13fb8 |
|
BLAKE2b-256 | 9c52c5dfe2b929e6ade96831754244bb2f5efac2d56558e0b1fb467f87802d02 |
Hashes for django-pluggable-contact-0.0.6.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c62beea5e9dc7a6c942c12d08a95e31ef5e33618c1db127a7e8565b56614930e |
|
MD5 | 9906e825399d6308cce41a31af444d66 |
|
BLAKE2b-256 | 47b149cd0b28ae134f7c2c26660b6a5a35b21d12c2dfa3bd83b9fbe178ef8a84 |