graphene-django/graphene_django/tests/urls_inherited.py
Tim Schilling 5d5d7f1815
Django v4, python 3.10 support for graphene-django v3 (#1281)
Co-authored-by: Yair Silbermintz <MisterGlass@users.noreply.github.com>
2022-01-07 20:26:07 +00:00

14 lines
266 B
Python

from django.urls import path
from ..views import GraphQLView
from .schema_view import schema
class CustomGraphQLView(GraphQLView):
schema = schema
graphiql = True
pretty = True
urlpatterns = [path("graphql/inherited/", CustomGraphQLView.as_view())]