Просмотр исходного кода

Revert "Fixes #22854: Set USE_SHADOW_DOM=False to fix GraphiQL queries w/debug enabled"

This reverts commit 30d2c9b5375bd6bfd966ade2c5c4426b90fcd161.
Jeremy Stretch 1 неделя назад
Родитель
Сommit
257c322e48
1 измененных файлов с 0 добавлено и 4 удалено
  1. 0 4
      netbox/netbox/settings.py

+ 0 - 4
netbox/netbox/settings.py

@@ -634,10 +634,6 @@ SERIALIZATION_MODULES = {
 
 DEBUG_TOOLBAR_CONFIG = {
     'SHOW_TOOLBAR_CALLBACK': 'utilities.debug.show_toolbar',
-    # The GraphiQL integration provided by strawberry-django locates the toolbar via
-    # document.getElementById('djDebug'), which fails when the toolbar is rendered inside a
-    # shadow root (the default as of django-debug-toolbar v7.0).
-    'USE_SHADOW_DOM': False,
 }