19217 update and re-add django-debug-toolbar to INSTALLED_APPS

This commit is contained in:
Arthur 2025-04-21 10:00:43 -07:00
parent 7420c25687
commit 0169aabef0
3 changed files with 2 additions and 4 deletions

View File

@ -11,7 +11,7 @@ django-cors-headers
# See: https://django-debug-toolbar.readthedocs.io/en/latest/changes.html#id1 # See: https://django-debug-toolbar.readthedocs.io/en/latest/changes.html#id1
# "Wrap SHOW_TOOLBAR_CALLBACK function with sync_to_async or async_to_sync to allow sync/async # "Wrap SHOW_TOOLBAR_CALLBACK function with sync_to_async or async_to_sync to allow sync/async
# compatibility." breaks stawberry-graphql-django at version 0.52.0 (current) # compatibility." breaks stawberry-graphql-django at version 0.52.0 (current)
django-debug-toolbar==5.0.1 django-debug-toolbar
# Library for writing reusable URL query filters # Library for writing reusable URL query filters
# https://github.com/carltongibson/django-filter/blob/main/CHANGES.rst # https://github.com/carltongibson/django-filter/blob/main/CHANGES.rst

View File

@ -419,8 +419,6 @@ INSTALLED_APPS = [
'drf_spectacular', 'drf_spectacular',
'drf_spectacular_sidecar', 'drf_spectacular_sidecar',
] ]
if not DEBUG:
INSTALLED_APPS.remove('debug_toolbar')
# Middleware # Middleware
MIDDLEWARE = [ MIDDLEWARE = [

View File

@ -1,6 +1,6 @@
Django==5.1.8 Django==5.1.8
django-cors-headers==4.7.0 django-cors-headers==4.7.0
django-debug-toolbar==5.0.1 django-debug-toolbar==5.1.0
django-filter==25.1 django-filter==25.1
django-htmx==1.23.0 django-htmx==1.23.0
django-graphiql-debug-toolbar==0.2.0 django-graphiql-debug-toolbar==0.2.0