We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4808add commit 782bdd9Copy full SHA for 782bdd9
debug_toolbar/middleware.py
@@ -20,7 +20,7 @@ def show_toolbar(request):
20
"""
21
Default function to determine whether to show the toolbar on a given page.
22
23
- internal_ips = settings.INTERNAL_IPS.copy()
+ internal_ips = list(settings.INTERNAL_IPS)
24
25
try:
26
# This is a hack for docker installations. It attempts to look
docs/changes.rst
@@ -5,6 +5,7 @@ Pending
5
-------
6
7
* Removed some CSS which wasn't carefully limited to the toolbar's elements.
8
+* Stopped assuming that ``INTERNAL_IPS`` is a list.
9
10
11
4.4.1 (2024-05-26)
0 commit comments