소스 검색

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

This reverts commit 30d2c9b5375bd6bfd966ade2c5c4426b90fcd161.
Jeremy Stretch 1 주 전
부모
커밋
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 = {
 DEBUG_TOOLBAR_CONFIG = {
     'SHOW_TOOLBAR_CALLBACK': 'utilities.debug.show_toolbar',
     '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,
 }
 }