diff --git a/graphene_django/templates/graphene/graphiql.html b/graphene_django/templates/graphene/graphiql.html index c0c9af1..d0fb5a8 100644 --- a/graphene_django/templates/graphene/graphiql.html +++ b/graphene_django/templates/graphene/graphiql.html @@ -23,11 +23,9 @@ add "&raw" to the end of the URL within a browser. - - diff --git a/graphene_django/views.py b/graphene_django/views.py index c9ac770..aefe114 100644 --- a/graphene_django/views.py +++ b/graphene_django/views.py @@ -53,6 +53,7 @@ def instantiate_middleware(middlewares): class GraphQLView(View): graphiql_version = "0.13.0" graphiql_template = "graphene/graphiql.html" + react_version = "16.8.6" schema = None graphiql = False @@ -126,7 +127,9 @@ class GraphQLView(View): if show_graphiql: return self.render_graphiql( - request, graphiql_version=self.graphiql_version + request, + graphiql_version=self.graphiql_version, + react_version=self.react_version, ) if self.batch: