graphene-django/examples/cookbook-plain/cookbook/urls.py
2017-02-14 20:23:45 +02:00

11 lines
229 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)),
]