Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

pip django graphql

from django.conf.urls import url
from graphene_django.views import GraphQLView

urlpatterns = [
    # ...
    url(r'^graphql$', GraphQLView.as_view(graphiql=True)),
]
Source by pypi.org #
 
PREVIOUS NEXT
Tagged: #pip #django #graphql
ADD COMMENT
Topic
Name
8+5 =