mirror of
https://github.com/graphql-python/graphene-django.git
synced 2025-11-15 07:15:39 +03:00
The DEFAULT_GRAPHQL_URL had to change because it doesn't take into account the APPEND_SLASH setting from within Django.
7 lines
176 B
Python
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))]
|