File tree Expand file tree Collapse file tree 4 files changed +9
-2
lines changed Expand file tree Collapse file tree 4 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 88
88
database : psycopg3
89
89
- python-version : ' 3.13'
90
90
database : postgis3
91
+ - python-version : ' 3.13'
92
+ database : postgresql
93
+ env :
94
+ DJANGO_SELENIUM_TESTS=true
91
95
92
96
services :
93
97
postgres :
@@ -143,6 +147,7 @@ jobs:
143
147
DB_BACKEND : ${{ matrix.database }}
144
148
DB_HOST : localhost
145
149
DB_PORT : 5432
150
+ DJANGO_SELENIUM_TESTS : ${{ matrix.env.DJANGO_SELENIUM_TESTS }}
146
151
147
152
sqlite :
148
153
runs-on : ubuntu-latest
Original file line number Diff line number Diff line change 9
9
* Fixed KeyError when using DatabaseStore with dynamically added panels to
10
10
DEBUG_TOOLBAR_PANELS. Also fixed history sidebar to only include enabled
11
11
panels.
12
+ * Moved the the import statement of ``debug_toolbar.urls `` to within the if
13
+ statement's scope on the installation documentation.
12
14
13
15
6.0.0 (2025-07-22)
14
16
------------------
Original file line number Diff line number Diff line change @@ -183,9 +183,10 @@ You should also modify your URLconf file:
183
183
.. code-block :: python
184
184
185
185
from django.conf import settings
186
- from debug_toolbar.toolbar import debug_toolbar_urls
187
186
188
187
if not settings.TESTING :
188
+ from debug_toolbar.toolbar import debug_toolbar_urls
189
+
189
190
urlpatterns = [
190
191
* urlpatterns,
191
192
] + debug_toolbar_urls()
Original file line number Diff line number Diff line change @@ -42,7 +42,6 @@ passenv=
42
42
setenv =
43
43
PYTHONPATH = {toxinidir}
44
44
PYTHONWARNINGS = d
45
- py311-dj42-postgresql: DJANGO_SELENIUM_TESTS = {env:DJANGO_SELENIUM_TESTS:true}
46
45
DB_NAME = {env:DB_NAME:debug_toolbar}
47
46
DB_USER = {env:DB_USER:debug_toolbar}
48
47
DB_HOST = {env:DB_HOST:localhost}
You can’t perform that action at this time.
0 commit comments