graphene-django/graphene_django/tests/urls.py
Yair Silbermintz 82b2d064be
Support Django 4.0
Replace calls to deprecated methods

Fix test config & Replace additional methods removed in django 4.0

Update tox for official Django 4 release
2021-12-08 18:47:11 -06:00

9 lines
211 B
Python

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