graphene-django/graphene_django/tests/urls_pretty.py

9 lines
188 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
urlpatterns = [
url(r'^graphql', GraphQLView.as_view(schema=schema, pretty=True)),
]