mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-26 18:38:38 -06:00
19217 update and re-add django-debug-toolbar to INSTALLED_APPS
This commit is contained in:
parent
7420c25687
commit
0169aabef0
@ -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
|
||||||
|
@ -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 = [
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user