From f9c99fe629808ad471bb3a721f862082e2387ea6 Mon Sep 17 00:00:00 2001 From: Jonas Helfer Date: Tue, 28 Mar 2017 12:36:40 -0700 Subject: [PATCH] Fix code example --- docs/apollo/batching.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/apollo/batching.rst b/docs/apollo/batching.rst index f5e7afa0..f03bbdb4 100644 --- a/docs/apollo/batching.rst +++ b/docs/apollo/batching.rst @@ -20,9 +20,9 @@ Graphene-Django has built-in support for transport batching, which can be enable from graphene_django.views import GraphQLView urlpatterns = [ - url(r'^graphql', GraphQLView.as_view(graphiql=True, batch=True)), + url(r'^graphql', GraphQLView.as_view(batch=True)), ] -.. _GraphQL transport batching: http://dev.apollodata.com/core/network.html#query-batching \ No newline at end of file +.. _GraphQL transport batching: http://dev.apollodata.com/core/network.html#query-batching