Skip to content

Instantly share code, notes, and snippets.

@Bijitakc
Created Jul 2, 2022
Embed
What would you like to do?
from django.urls import path
from django.views.decorators.csrf import csrf_exempt
from graphene_file_upload.django import FileUploadGraphQLView
from .schema import schema
urlpatterns = [
path('graphql/', csrf_exempt(FileUploadGraphQLView.as_view(graphiql=True, schema=schema)))
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment