Skip to content

Conversation

@Chiemezuo
Copy link
Member

Description

Following up on PR #2228 , the documentation needed some correction to state that the Toolbar currently doesn't support Django Channels.

Fixes #2231

Checklist:

  • I have added the relevant tests for this change.
  • I have added an item to the Pending section of docs/changes.rst.

Comment on lines 276 to 278
The Debug Toolbar currently has experimental support for async projects,
but not for Django Channels. The Debug Toolbar is compatible with the
following exceptions:
Copy link
Member

@tim-schilling tim-schilling Oct 21, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This reads a bit weird with two blocks of exceptions. Maybe we just move the channels incompatibility down into the list of exceptions so it's just one list of ways the toolbar doesn't work with async projects?

are disabled by default when running in async environment.
follow the progress of this issue in `Async compatible toolbar project <https://github.com/orgs/jazzband/projects/9>`_.
- Django Channels incompatibility: The toolbar does not currently support
Django Channels' consumers.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Django Channels' consumers.
Django Channels' consumers due to the difference in middleware design.

The little contextual note may be helpful for a future reader if they don't realize to check the issues first.

Copy link
Member

@tim-schilling tim-schilling left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for moving this along! My comments are nitpicky. Please also add a mention of this to the changelog (I think it's changes.rst).

@Chiemezuo
Copy link
Member Author

How's it looking now? @tim-schilling

@tim-schilling tim-schilling merged commit 875d581 into django-commons:main Oct 24, 2025
29 checks passed
@tim-schilling
Copy link
Member

Thank you @Chiemezuo!

@Chiemezuo
Copy link
Member Author

Thanks for the merge! @tim-schilling

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Django Channels incompatibility

2 participants