graphene-django/graphene_django/tests/urls.py
Michał Ochman 0a18558bf6 Add support for batching several requests into one
Batch format compatible with ReactRelayNetworkLayer (https://github.com/nodkz/react-relay-network-layer)
2016-10-31 12:03:56 +01:00

9 lines
204 B
Python

from django.conf.urls import url
from ..views import GraphQLView
urlpatterns = [
url(r'^graphql/batch', GraphQLView.as_view(batch=True)),
url(r'^graphql', GraphQLView.as_view(graphiql=True)),
]