mirror of
https://github.com/graphql-python/graphene-django.git
synced 2025-11-15 07:15:39 +03:00
Replace calls to deprecated methods Fix test config & Replace additional methods removed in django 4.0 Update tox for official Django 4 release
14 lines
275 B
Python
14 lines
275 B
Python
from django.urls import re_path
|
|
|
|
from ..views import GraphQLView
|
|
from .schema_view import schema
|
|
|
|
|
|
class CustomGraphQLView(GraphQLView):
|
|
schema = schema
|
|
graphiql = True
|
|
pretty = True
|
|
|
|
|
|
urlpatterns = [re_path(r"^graphql/inherited/$", CustomGraphQLView.as_view())]
|