Improved SQL statement formatting performance. Additionally, fixed the
indentation of CASE statements and stopped simplifying .count()
queries.
Added support for the new STORAGES setting in Django 4.2 for static files.
Added support for theme overrides.
Reworked the cache panel instrumentation code to no longer attempt to undo
monkey patching of cache methods, as that turned out to be fragile in the
presence of other code which also monkey patches those methods.
Update all timing code that used :py:func:time.time() to use
:py:func:time.perf_counter() instead.
Made the check on request.META["wsgi.multiprocess"] optional, but
defaults to forcing the toolbar to render the panels on each request. This
is because it's likely an ASGI application that's serving the responses
and that's more likely to be an incompatible setup. If you find that this
is incorrect for you in particular, you can use the RENDER_PANELS
setting to forcibly control this logic.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps django-debug-toolbar from 4.0.0 to 4.1.0.
Release notes
Sourced from django-debug-toolbar's releases.
Changelog
Sourced from django-debug-toolbar's changelog.
Commits
de7e19c
Version 4.1.0 (#1779)e9fff24
[pre-commit.ci] pre-commit autoupdateaf7d15f
If wsgi.multiprocess isn't set, render panels on each request.1960ca3
Bump coverage percentage to 94% (#1776)43a87f7
Replace time.time() with time.perf_counter() (#1777)e7575e8
Inherit from django.db.backends.utils.CursorWrapper32ab363
Fix psycopg3 tests217238b
Don't try to undo DatabaseWrapper monkey patchingdf67c89
Remove unnecessary return statement267de8f
Replace deprecated GitHub Actions set-output commands (#1774)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)