graphene-django/graphene_django/tests/urls_pretty.py

7 lines
176 B
Python
Raw Normal View History

from django.urls import path
2016-09-20 08:15:10 +03:00
2016-09-20 08:50:51 +03:00
from ..views import GraphQLView
2016-09-20 08:11:48 +03:00
from .schema_view import schema
urlpatterns = [path("graphql", GraphQLView.as_view(schema=schema, pretty=True))]