Commit 6e5c02f8 authored by Baptiste Girard-Carrabin's avatar Baptiste Girard-Carrabin 💬

remove debug toolbar

parent 074558c0
......@@ -12,7 +12,6 @@ oauth_vr = {git = "https://gitlab.viarezo.fr/ViaRezo/oauth-django-module.git", e
[dev-packages]
pylint = "*"
django-debug-toolbar = "*"
pyyaml = "*"
[requires]
......
......@@ -44,7 +44,6 @@ INSTALLED_APPS = [
'django.contrib.staticfiles',
'core.apps.CoreConfig',
'ddtrace.contrib.django',
'debug_toolbar',
]
MIDDLEWARE = [
......@@ -57,7 +56,6 @@ MIDDLEWARE = [
'django.middleware.clickjacking.XFrameOptionsMiddleware',
'core.middleware.CGUMiddleware',
'core.middleware.MessagesMiddleware',
'debug_toolbar.middleware.DebugToolbarMiddleware'
]
ROOT_URLCONF = 'nofistv2.urls'
......
......@@ -25,9 +25,3 @@ urlpatterns = [
path('admin/', admin.site.urls),
path('', include('core.urls')),
]
if settings.DEBUG:
import debug_toolbar
urlpatterns = [
path('__debug__/', include(debug_toolbar.urls)),
] + urlpatterns
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment