From 189a586cfbd8718260febbc2b96ef075528fd0fa Mon Sep 17 00:00:00 2001 From: David Neale Date: Mon, 30 Oct 2017 16:34:40 +0000 Subject: [PATCH] Read CSRF token from DOM instead of cookie Fixes #307 --- graphene_django/templates/graphene/graphiql.html | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/graphene_django/templates/graphene/graphiql.html b/graphene_django/templates/graphene/graphiql.html index 949b850..f3ef218 100644 --- a/graphene_django/templates/graphene/graphiql.html +++ b/graphene_django/templates/graphene/graphiql.html @@ -23,12 +23,10 @@ add "&raw" to the end of the URL within a browser. + {% csrf_token %}