From 7690c2c0025f1537ee9c9c2971d3c9b1546b9ba6 Mon Sep 17 00:00:00 2001 From: Dulmandakh Date: Mon, 20 May 2019 19:41:25 +0800 Subject: [PATCH] bump react to 16.8.6 --- graphene_django/templates/graphene/graphiql.html | 6 ++---- graphene_django/views.py | 5 ++++- 2 files changed, 6 insertions(+), 5 deletions(-) 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 0b840f9..2fc8c88 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.11.10" 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: