Skip to content

jaydenwindle/django-graphql-playground

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

django-graphql-playground

Apollo GraphQL Playground as a Django view

Screenshot

Install

$ pip install django-graphql-playground

Configure

# settings.py

INSTALLED_APPS = [
    ...
    'graphql_playground',
]
# urls.py

urlpatterns = [
    ...
    path('playground/', GraphQLPlaygroundView.as_view(endpoint="<your_graphql_endpoint>")),
]

You can pass in any valid GraphQL Playground property as an argument to GraphQLPlaygroundView.as_view. A full list of supported properties can be found here

See example/ for more details.

About

Apollo GraphQL Playground as a Django view

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •