A django app that lets you chat with visitors to your site.
Project description
django-live-support
=================
A live support chat app for django that lets you chat with visitors to your
site through the Django Admin interface.
Dependancies
============
- django (tested with 1.3)
Getting Started
=============
To get started simply install using ``pip``:
::
pip install django-live-support
Add ``live_support`` to your installed apps and ``syncdb`` (or migrate, if
you have south installed).
Your installed apps should look something like this:
::
INSTALLED_APPS = (
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.sites',
'django.contrib.messages',
'django.contrib.admin',
'live_support',
)
Add ``live_support.urls`` to your urls.py, like so:
::
from django.conf.urls.defaults import patterns, include, url
from django.contrib import admin
admin.autodiscover()
urlpatterns = patterns('',
url(r'^admin/', include(admin.site.urls)),
url(r'^support/', include('live_support.urls')),
)
Usage
=============
You can either override the template for the ``start_chat``
(live_support/start_chat.html) and ``client_chat``
(live_support/live_support.html) views and just point users to the root
of the live_support app as defined in your urls.py file, or you can drop
the ``{% chat_iframe %}`` templatetag into your base template, which will
render the chat sidebar (which pops out into a chat window) on every
page.
=================
A live support chat app for django that lets you chat with visitors to your
site through the Django Admin interface.
Dependancies
============
- django (tested with 1.3)
Getting Started
=============
To get started simply install using ``pip``:
::
pip install django-live-support
Add ``live_support`` to your installed apps and ``syncdb`` (or migrate, if
you have south installed).
Your installed apps should look something like this:
::
INSTALLED_APPS = (
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.sites',
'django.contrib.messages',
'django.contrib.admin',
'live_support',
)
Add ``live_support.urls`` to your urls.py, like so:
::
from django.conf.urls.defaults import patterns, include, url
from django.contrib import admin
admin.autodiscover()
urlpatterns = patterns('',
url(r'^admin/', include(admin.site.urls)),
url(r'^support/', include('live_support.urls')),
)
Usage
=============
You can either override the template for the ``start_chat``
(live_support/start_chat.html) and ``client_chat``
(live_support/live_support.html) views and just point users to the root
of the live_support app as defined in your urls.py file, or you can drop
the ``{% chat_iframe %}`` templatetag into your base template, which will
render the chat sidebar (which pops out into a chat window) on every
page.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
django-live-support-0.1.1.tar.gz
(67.8 kB
view hashes)
Close
Hashes for django-live-support-0.1.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c0ec3d959c1734abfc992d62c83f5b20dc67e20bfe2dd0fe17e70107e7eb6194 |
|
MD5 | 0bfc9cbcbcbd0544be2154005bd1337d |
|
BLAKE2b-256 | 79399baa31ea4e09c1688b6e228173af84d4058f5f2ee1bc44402b75f750c4e1 |