graphene-django/graphene_django/tests/urls.py
tschilling c2818c85e0
Switch from re_path to path.
The DEFAULT_GRAPHQL_URL had to change because it doesn't take into
account the APPEND_SLASH setting from within Django.
2021-12-12 11:18:37 -06:00

9 lines
198 B
Python

from django.urls import path
from ..views import GraphQLView
urlpatterns = [
path("graphql/batch", GraphQLView.as_view(batch=True)),
path("graphql", GraphQLView.as_view(graphiql=True)),
]