graphene-django/examples/cookbook/cookbook/urls.py
2016-09-19 22:15:10 -07:00

10 lines
228 B
Python

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)),
]