Skip to content

Commit 8559024

Browse files
committed
fix: django-debug-toolbar urls import + missing pip requirement
- Legacy-Id: 19534
1 parent c2979ad commit 8559024

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

ietf/urls.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,6 @@
9494
if hasattr(settings, 'USE_DEBUG_TOOLBAR') and settings.USE_DEBUG_TOOLBAR:
9595
try:
9696
import debug_toolbar
97-
path('__debug__/', include(debug_toolbar.urls)),
97+
urlpatterns = urlpatterns + [path('__debug__/', include(debug_toolbar.urls)), ]
9898
except ImportError:
9999
pass

requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ Django>=2.2.15,<3.0
1313
django-bootstrap3>=14.0
1414
django-csp>=3.5
1515
django-cors-headers>=2.4.0
16+
django-debug-toolbar>=3.2.2
1617
django-form-utils>=1.0.3
1718
django-formtools>=1.0 # instead of django.contrib.formtools in 1.8
1819
django-markup>=1.5

0 commit comments

Comments
 (0)