Ignore debug_toolbar in coverage

This commit is contained in:
Jelle van der Waa 2021-09-13 21:45:41 +02:00
parent 2547d4bd56
commit f0f84e7f6d
No known key found for this signature in database
GPG Key ID: C06086337C50773E

View File

@ -111,7 +111,7 @@
])
# django-toolbar
if settings.DEBUG_TOOLBAR:
if settings.DEBUG_TOOLBAR: # pragma: no cover
import debug_toolbar
urlpatterns.extend([
path('__debug__/', include(debug_toolbar.urls)),