/django-chatovod

Chatovod - chat widget for Django

Primary LanguagePythonGNU General Public License v2.0GPL-2.0

Chatovod - chat widget for Django

What's that

This reusable Django app will be integrate a chat widget from Chatovod.Ru

Build Status https://coveralls.io/repos/gotlium/django-chatovod/badge.png?branch=master Current version on PyPi Downloads from PyPi

Documentation available at Read the Docs.

Installation:

  1. Package:
$ git clone https://github.com/gotlium/django-chatovod.git

$ cd django-chatovod && sudo python setup.py install

OR

$  pip install django-chatovod
  1. Add the chatovod application to INSTALLED_APPS in your settings file (usually settings.py)
  2. Configure widget on your settings. By default:
CHAT_WIDTH = '900'
CHAT_HEIGHT = '500'
CHAT_DOMAIN = 'demo.chatovod.ru'
CHAT_API_KEY = '07a128c26a0e626c6afcc5ecd8ed800c'
  1. Use in your template:
{% load chatovod %}
<!DOCTYPE html>
<html>
<head>
    <title>Chatovod example</title>
</head>
<body>
    {% chatovod %}
</body>
</html>

Compatibility:

  • Python: 2.6, 2.7
  • Django: 1.3.x, 1.4.x, 1.5.x, 1.6
Bitdeli badge