Skip to content

Commit d73d2b5

Browse files
committed
async hates csrf
1 parent b824287 commit d73d2b5

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

graphene_django/views.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -485,7 +485,6 @@ def as_view(cls, **initkwargs):
485485
view._is_coroutine = coroutines._is_coroutine
486486
return view
487487

488-
@method_decorator(ensure_csrf_cookie)
489488
async def dispatch(self, request, *args, **kwargs):
490489
try:
491490
if request.method.lower() not in ("get", "post"):

0 commit comments

Comments
 (0)