graphene-django/examples/cookbook-plain/cookbook/urls.py
2018-10-18 11:33:53 -07:00

11 lines
224 B
Python

from django.urls import path
from django.contrib import admin
from graphene_django.views import GraphQLView
urlpatterns = [
path('admin/', admin.site.urls),
path('graphql/', GraphQLView.as_view(graphiql=True)),
]