Skip to main content

A responsive Chat web app package for Django 2.0+

Project description


Chatter is a simple chat application based on Django Channels 2.0.
The goal of this app is to turn it into a package that can be easily
inserted into Django web apps for developers to use.

Note: This component depends on Django Channels, so I recommend getting
familiar with and installing Channels's server as your dev server from

Quick start

1. Install django-channels from the installation site

2. Add `chat` to your INSTALLED_APPS setting like this (please make sure it's
below your project's appname)::


3. Include the polls URLconf in your project like this::

path('chat/', include('chat.urls')),

4. Add chat to your '<project_name>/' by adding the following lines::
from channels.auth import AuthMiddlewareStack
from channels.routing import ProtocolTypeRouter, URLRouter
import chat.routing

application = ProtocolTypeRouter({
'websocket': AuthMiddlewareStack(

5. Run `python migrate` to create the chat models.

6. Start the development server and visit to see
the interface. You can type in a username to find the corresponding
user and open a chatroom with them.

And you're good to go! If you want to contribute to the development of this app,
head over to . Thank you!

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-chatter-0.0.4.tar.gz (13.5 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page