Skip to content

Commit eb407e5

Browse files
committed
Removed for DJA not directly related debug toolbar
debug toolbar caused issues in newer version preventing from updating deps therefore removing it.
1 parent 0da8e46 commit eb407e5

File tree

3 files changed

+0
-12
lines changed

3 files changed

+0
-12
lines changed

example/settings/dev.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626
"rest_framework",
2727
"polymorphic",
2828
"example",
29-
"debug_toolbar",
3029
"django_filters",
3130
"tests",
3231
]
@@ -62,8 +61,6 @@
6261

6362
PASSWORD_HASHERS = ("django.contrib.auth.hashers.UnsaltedMD5PasswordHasher",)
6463

65-
MIDDLEWARE = ("debug_toolbar.middleware.DebugToolbarMiddleware",)
66-
6764
INTERNAL_IPS = ("127.0.0.1",)
6865

6966
JSON_API_FORMAT_FIELD_NAMES = "camelize"

example/urls.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
from django.conf import settings
21
from django.urls import include, path, re_path
32
from django.views.generic import TemplateView
43
from rest_framework import routers
@@ -105,10 +104,3 @@
105104
name="swagger-ui",
106105
),
107106
]
108-
109-
if settings.DEBUG:
110-
import debug_toolbar
111-
112-
urlpatterns = [
113-
path("__debug__/", include(debug_toolbar.urls)),
114-
] + urlpatterns

requirements/requirements-testing.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
django-debug-toolbar==3.4.0
21
factory-boy==3.2.1
32
Faker==13.11.1
43
pytest==7.1.2

0 commit comments

Comments
 (0)