mirror of
https://github.com/graphql-python/graphene-django.git
synced 2024-11-15 06:08:59 +03:00
11 lines
229 B
Python
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)),
|
|
]
|