A reusable Django app that provides threaded conversations between users.
Project description
A reusable Django app that provides threaded conversations between users.
Installation
To get the latest stable release from PyPi
$ pip install django-conversation
To get the latest commit from GitHub
$ pip install -e git+git://github.com/bitmazk/django-conversation.git#egg=conversation
TODO: Describe further installation steps (edit / remove the examples below):
Add conversation to your INSTALLED_APPS
INSTALLED_APPS = (
...,
'conversation',
)
Add the conversation URLs to your urls.py
urlpatterns = patterns('',
...
url(r'^conversation/', include('conversation.urls')),
)
Don’t forget to migrate your database
./manage.py migrate conversation
Usage
If you have executed the tasks written above, the app is ready to work. Note: The templates are based on Twitter Bootstrap (http://getbootstrap.com/). If you don’t use it, simply overwrite them.
In almost every case you want to customize stuff, add jQuery/JavaScript, add CSS, your own templates and so on, so this app is kept very simple.
Settings
CONVERSATION_MESSAGE_FORM
Default: None
If you want to use your own message form, you can define it here:
CONVERSATION_MESSAGE_FORM = 'my_app.forms.MyMessageForm'
Contribute
If you want to contribute to this project, please perform the following steps
# Fork this repository
# Clone your fork
$ mkvirtualenv -p python2.7 django-conversation
$ python setup.py install
$ pip install -r dev_requirements.txt
$ git co -b feature_branch master
# Implement your feature and tests
$ git add . && git commit
$ git push -u origin feature_branch
# Send us a pull request for your feature branch
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file django-conversation-1.0.tar.gz.
File metadata
- Download URL: django-conversation-1.0.tar.gz
- Upload date:
- Size: 11.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
529e4cdc04b763950e965f0df580df6f65bf944903a6f12dc20ce2346a4a7247
|
|
| MD5 |
423492d3a863a172334230ebfd8af658
|
|
| BLAKE2b-256 |
d2e7e41e1097e9498d2a3e583f7a07846db4db3c0cae7eb414c8b8bb28fdd6b0
|