graphene-django/graphene_django/tests/urls_pretty.py
2018-07-19 16:52:24 -07:00

7 lines
181 B
Python

from django.conf.urls import url
from ..views import GraphQLView
from .schema_view import schema
urlpatterns = [url(r"^graphql", GraphQLView.as_view(schema=schema, pretty=True))]