Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Matthias Kestenholz <mk@feinheit.ch>
  • Loading branch information
tim-schilling and matthiask committed Apr 26, 2024
1 parent 3cb2f7c commit a182401
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docs/changes.rst
Expand Up @@ -22,7 +22,7 @@ Pending
``DEBUG_TOOLBAR_SETTINGS``.
* Add a note on the profiling panel about using Python 3.12 and later
about needing ``--nothreading``
* Added ``RUNNING_TESTS`` setting to allow overriding the
* Added ``IS_RUNNING_TESTS`` setting to allow overriding the
``debug_toolbar.W009`` check to avoid including the toolbar when running
tests.
* Fixed the bug causing ``'djdt' is not a registered namespace`` and updated
Expand Down
1 change: 1 addition & 0 deletions tests/settings.py
Expand Up @@ -127,5 +127,6 @@
DEBUG_TOOLBAR_CONFIG = {
# Django's test client sets wsgi.multiprocess to True inappropriately
"RENDER_PANELS": False,
# IS_RUNNING_TESTS must be False even though we're running tests because we're running the toolbar's own tests.
"IS_RUNNING_TESTS": False,
}

0 comments on commit a182401

Please sign in to comment.