Skip to main content

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)
- simplejson (required if using python 2.5, suggested otherwise)

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')),
)


If you are going to use the chat_iframe templatetag, be sure that you have
'django.core.context_processors.request' in your TEMPLATE_CONTEXT_PROCESSORS.

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, but be sure
to include {% load live_support_tags %} at the top of your 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.9.tar.gz (65.8 kB view details)

Uploaded Source

File details

Details for the file django-live-support-0.1.9.tar.gz.

File metadata

File hashes

Hashes for django-live-support-0.1.9.tar.gz
Algorithm Hash digest
SHA256 b70186e2b6ba35d7c5c25ef22f9b0da6611c1e36d16619f42efa7cb1488ff247
MD5 e52e0641b63cfdabd3695244a113b312
BLAKE2b-256 5206f73f205a891dc0f35f11b866d5fe9abb016c9675f0e7c08f5ffbefbe5d35

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page