graphene-django/examples/cookbook-plain/cookbook/urls.py

11 lines
229 B
Python
Raw Normal View History

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