Created
November 4, 2020 16:06
-
-
Save joaquinacuna/ae4f366767d3fe2af28a080693315160 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# auth.urls.py | |
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