From f19d50c84950d637d444d91a2cb79f4e8081e85f Mon Sep 17 00:00:00 2001 From: mnasiri Date: Wed, 13 Sep 2023 05:54:37 +0330 Subject: [PATCH] Fix graphiql explorer styles by sending graphiql_plugin_explorer_css_sri param to render_graphiql function of the GraphQlView (#1418) --- graphene_django/views.py | 1 + 1 file changed, 1 insertion(+) diff --git a/graphene_django/views.py b/graphene_django/views.py index ce08d26a..1505b3ef 100644 --- a/graphene_django/views.py +++ b/graphene_django/views.py @@ -167,6 +167,7 @@ def dispatch(self, request, *args, **kwargs): subscriptions_transport_ws_sri=self.subscriptions_transport_ws_sri, graphiql_plugin_explorer_version=self.graphiql_plugin_explorer_version, graphiql_plugin_explorer_sri=self.graphiql_plugin_explorer_sri, + graphiql_plugin_explorer_css_sri=self.graphiql_plugin_explorer_css_sri, # The SUBSCRIPTION_PATH setting. subscription_path=self.subscription_path, # GraphiQL headers tab,