mirror of
https://github.com/graphql-python/graphene-django.git
synced 2024-12-02 22:43:46 +03:00
5d5d7f1815
Co-authored-by: Yair Silbermintz <MisterGlass@users.noreply.github.com>
14 lines
266 B
Python
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())]
|