graphene-django/graphene_django/tests/urls_pretty.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

7 lines
176 B
Python

from django.urls import path
from ..views import GraphQLView
from .schema_view import schema
urlpatterns = [path("graphql", GraphQLView.as_view(schema=schema, pretty=True))]