Skip to content

Commit

Permalink
remove django-debus-toolbar
Browse files Browse the repository at this point in the history
  • Loading branch information
b4oody committed Dec 31, 2024
1 parent dac3ccf commit d966ef2
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 19 deletions.
8 changes: 0 additions & 8 deletions cinema_service/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@
"rest_framework",
"cinema",
"user",
"debug_toolbar",
]

MIDDLEWARE = [
Expand All @@ -53,7 +52,6 @@
"django.contrib.auth.middleware.AuthenticationMiddleware",
"django.contrib.messages.middleware.MessageMiddleware",
"django.middleware.clickjacking.XFrameOptionsMiddleware",
"debug_toolbar.middleware.DebugToolbarMiddleware",
]

ROOT_URLCONF = "cinema_service.urls"
Expand Down Expand Up @@ -133,9 +131,3 @@
# https://docs.djangoproject.com/en/4.0/ref/settings/#default-auto-field

DEFAULT_AUTO_FIELD = "django.db.models.BigAutoField"

INTERNAL_IPS = [
# ...
"127.0.0.1",
# ...
]
4 changes: 2 additions & 2 deletions cinema_service/urls.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
from debug_toolbar.toolbar import debug_toolbar_urls

from django.contrib import admin
from django.urls import path, include

urlpatterns = [
path("admin/", admin.site.urls),
path("api/", include("cinema.urls", namespace="cinema")),
] + debug_toolbar_urls()
]
9 changes: 0 additions & 9 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,15 +1,6 @@
asgiref==3.8.1
Django==4.0.4
django-debug-toolbar==4.4.6
djangorestframework==3.13.1
flake8==5.0.4
flake8-quotes==3.3.1
flake8-variables-names==0.0.5
mccabe==0.7.0
pep8-naming==0.13.2
pycodestyle==2.9.1
pyflakes==2.5.0
pytz==2024.2
sqlparse==0.5.3
typing_extensions==4.12.2
tzdata==2024.2

0 comments on commit d966ef2

Please sign in to comment.