File: index.rst

package info (click to toggle)
python-django-channels 4.3.1-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 1,036 kB
  • sloc: python: 3,109; makefile: 155; javascript: 60; sh: 8
file content (19 lines) | stat: -rw-r--r-- 554 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Tutorial
========

Channels allows you to use WebSockets and other non-HTTP protocols in your
Django site. For example you might want to use WebSockets to allow a page on
your site to immediately receive updates from your Django server without using
HTTP long-polling or other expensive techniques.

In this tutorial we will build a simple chat server, where you can join an
online room, post messages to the room, and have others in the same room see
those messages immediately.

.. toctree::
   :maxdepth: 1
   
   part_1
   part_2
   part_3
   part_4