mirror of
https://github.com/graphql-python/graphene-django.git
synced 2025-02-21 14:02:48 +03:00
async hates csrf
This commit is contained in:
parent
ebbc578435
commit
66938e9e29
|
@ -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"):
|
||||
|
|
Loading…
Reference in New Issue
Block a user