graphene-django/graphene_django/tests/urls_pretty.py
2016-09-19 22:53:56 -07:00

9 lines
188 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)),
]