From 66938e9e291d48b73f81f3bdb108bcc46f7a0317 Mon Sep 17 00:00:00 2001 From: Josh Warwick Date: Fri, 31 Mar 2023 11:49:16 -0700 Subject: [PATCH] async hates csrf --- graphene_django/views.py | 1 - 1 file changed, 1 deletion(-) diff --git a/graphene_django/views.py b/graphene_django/views.py index 1ea6db8..a98a8c5 100644 --- a/graphene_django/views.py +++ b/graphene_django/views.py @@ -485,7 +485,6 @@ class AsyncGraphQLView(GraphQLView): view._is_coroutine = coroutines._is_coroutine return view - @method_decorator(ensure_csrf_cookie) async def dispatch(self, request, *args, **kwargs): try: if request.method.lower() not in ("get", "post"):