Created
September 2, 2019 14:02
-
-
Save nidhinp/10c20b96979ca20a7936f248cad4beec 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
from graphene_django.views import GraphQLView | |
from django.contrib import admin | |
from django.urls import path | |
from django.views.decorators.csrf import csrf_exempt | |
urlpatterns = [ | |
path('admin/', admin.site.urls), | |
path('graphql/', csrf_exempt(GraphQLView.as_view())), | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment