Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Mention @gzip_page explicitly as a reason why the toolbar doesn't sho…
…w up

Closes #2375.
  • Loading branch information
matthiask committed Jun 16, 2026
commit 1a1abf50d52689eab6efd544e6f19413c037e87d
4 changes: 4 additions & 0 deletions docs/tips.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ requests and return responses. Putting the debug toolbar middleware *after* the
``FlatpageFallbackMiddleware`` middleware, for example, means the toolbar will
not show up on flatpages.

The response must also not be compressed;
:func:`~django.views.decorators.gzip.gzip_page` and ``GZipMiddleware`` listed
after the toolbar in ``MIDDLEWARE`` are common causes.

Check your browser's caching
~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Expand Down
Loading