Skip to content

Instantly share code, notes, and snippets.

Created November 4, 2020 16:06
What would you like to do?
from django.urls import path
from django.views.decorators.csrf import csrf_exempt
from graphene_django.views import GraphQLView
urlpatterns = [
# ...
path("graphql", csrf_exempt(GraphQLView.as_view(graphiql=True))),
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment