Removed some CSS which wasn't carefully limited to the toolbar's elements.
Stopped assuming that INTERNAL_IPS is a list.
Added a section to the installation docs about running tests in projects
where the toolbar is being used.
4.4.1 (2024-05-26)
Pin metadata version to 2.2 to be compatible with Jazzband release
process.
4.4.0 (2024-05-26)
Raised the minimum Django version to 4.2.
Automatically support Docker rather than having the developer write a
workaround for INTERNAL_IPS.
Display a better error message when the toolbar's requests
return invalid json.
Render forms with as_div to silence Django 5.0 deprecation warnings.
Stayed on top of pre-commit hook updates.
Added :doc:architecture documentation <architecture> to help
on-board new contributors.
Removed the static file path validation check in
:class:StaticFilesPanel <debug_toolbar.panels.staticfiles.StaticFilesPanel>
since that check is made redundant by a similar check in Django 4.0 and
later.
Deprecated the OBSERVE_REQUEST_CALLBACK setting and added check
debug_toolbar.W008 to warn when it is present in
DEBUG_TOOLBAR_SETTINGS.
Add a note on the profiling panel about using Python 3.12 and later
about needing --nothreading
Added IS_RUNNING_TESTS setting to allow overriding the
debug_toolbar.E001 check to avoid including the toolbar when running
tests.
Fixed the bug causing 'djdt' is not a registered namespace and updated
docs to help in initial configuration while running tests.
Added a link in the installation docs to a more complete installation
example in the example app.
Added check to prevent the toolbar from being installed when tests
are running.
Added test to example app and command to run the example app's tests.
Implemented dark mode theme and button to toggle the theme,
introduced the DEFAULT_THEME setting which sets the default theme
to use.
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 show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@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.3.0 to 4.4.2.
Release notes
Sourced from django-debug-toolbar's releases.
... (truncated)
Changelog
Sourced from django-debug-toolbar's changelog.
Commits
d481182
Version 4.4.2f7e83b1
Add a section to the installation docs about running tests (#1921)782bdd9
INTERNAL_IPS may not be a list4808add
Avoid setting color-scheme on :root, we're only a guest on pages (#1923)e7541ab
Ignore UP031 for now97b49d1
Merge remote-tracking branch 'origin/pre-commit-ci-update-config'25c860e
Version 4.4.1202c831
Limit metadata version for Jazzband's release process15dc305
Version 4.4.0de2feca
Fix theme selenium integration test.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 show