graphene-django/graphene_django/tests/urls_pretty.py

7 lines
181 B
Python
Raw Normal View History

2016-09-20 08:11:48 +03:00
from django.conf.urls import url
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
2018-07-20 02:51:33 +03:00
urlpatterns = [url(r"^graphql", GraphQLView.as_view(schema=schema, pretty=True))]