I have the need to do the following:
path( \'/graphql\', csrf_exempt( viewsets.MyCustomGraphQLView.as_view()