django

channels: Add WebSockets and Async Support to Django

Django Channels extends Django with WebSockets, long-poll HTTP, and task offloading through ASGI. It suits Django teams building interactive or asynchronous features while keeping familiar Django patterns.

MaintainedPythonBSD-3-ClauseDjangoFrameworkReal Time
View on GitHub Compare
Stars
6.4k
Forks
826
Stars, last 30 days
+1
Last commit
2 months ago
Contributors
100+

Our take

Maintaineda few commits in the last 90 days

Health score

53/100

How it is scored
Activity
30
Community
76
Issues
46
Pull requests
60

+1 stars in the last 30 days

  • More contributors than 78% of the projects we track

Channels is a focused option for adding asynchronous connections to Django, with ongoing but quiet maintenance and no recorded release in the past year.

Good fit if

  • Your application already uses Django and needs WebSockets, long-polling, or other async behavior.
  • You can target Python 3.10 or later and Django 5.2 or later.
  • You value a framework that is not dependent on a single contributor, with activity from a broad contributor base.

Look elsewhere if

  • You need recent packaged releases as evidence of an active release cadence, since none were recorded in the last year.
  • Your project does not use Django or needs a framework for a different application stack.
  • You need rapid issue resolution: recent issue closures were limited, despite ongoing commits and merged pull requests.
All health signals
Last commit2026-08-06 (2 months ago)
Commits, last 90 days3
Releases, last 12 months0
Contributors100+ (top contributor: 57% of commits)
Issues closed, last 90 days1
Pull requests merged, last 90 days3 (typically merged in 0 days)
Project age11 years

Checked on 2026-10-12 with the GitHub API.

Project history

Daily GitHub snapshots since Oct 7, 2026. History covers stars and forks; health signals are not tracked historically.

Selected snapshot

Stars

6,364

Forks

830

Change since Nov 16, 2026: 0 stars·+1 forks

Overview

Django Channels extends Django beyond its traditional request-response flow, letting applications handle WebSockets, long-poll HTTP, and other asynchronous work. It provides a framework for connecting these behaviors to familiar Django patterns and for adding support for custom protocols.

Channels is part of the Django project ecosystem and is intended for teams that want asynchronous capabilities inside a Django application, rather than a separate framework for the whole application. Its related packages include Daphne for HTTP and WebSocket serving and channels_redis for a Redis-backed channel layer.

Key Features

  • Handles WebSocket connections alongside Django HTTP requests.
  • Supports long-poll HTTP and other asynchronous application behavior.
  • Provides task offloading through channel-based workflows.
  • Offers a flexible foundation for custom protocols and behaviors.
  • Integrates with Django's application patterns.
  • Works with related ASGI ecosystem packages, including Daphne and channels_redis.

Use Cases

  • Django teams can add live updates, chat, or interactive browser features that need persistent WebSocket connections.
  • Applications can use long-poll HTTP when clients need updates without a conventional page-request flow.
  • Teams can move suitable work out of the immediate request path using Channels task-offloading support.
  • Developers building protocol-specific integrations can extend the framework with custom protocol handling.

What you need

Detected in the repository

  • Python (from pyproject.toml)
  • A test suite and automated checks on GitHub Actions

License in plain words

BSD-3-Clausepermissive

  • Commercial use: yes
  • Modify and redistribute: yes
  • You must keep: the copyright and license notice; the authors' names cannot endorse your product
  • Share your changes: no

A summary, not legal advice: the LICENSE file is what applies.

Getting Started

Install the package from PyPI:

python -m pip install channels

See the installation guide and tutorial for setup details.

Alternatives

  • tornado: Tornado is a standalone asynchronous web framework, while Channels adds ASGI-based real-time features to Django.
  • autobahn-python: Autobahn provides WebSocket and WAMP client/server libraries, rather than integrating real-time features into Django.
ProjectLanguageLicenseStarsStatus
channelsPythonBSD-3-Clause6.4kMaintained
tornadoPythonApache-2.022.2kActive
autobahn-pythonPython–2.5kActive

Considerations

The project is marked as maintained, but recent activity has been modest and there have been no releases in over a year. It has a broad contributor base and is not concentrated around one person, though measured issue closures have been sparse. Check the release notes and current project status before planning around a particular release cadence.

Channels requires Python 3.10 or later and is compatible with Django 5.2 or later. Its BSD-3-Clause license permits broad reuse subject to its license conditions, including retaining applicable copyright and license notices.

Found this useful?

Share it with someone who would like channels.

Comparisons