djangographiqlstrawberrydebugtoolbar 0.2.0
Django GraphiQL Strawberry Debug Toolbar
Django Debug Toolbar for GraphiQL IDE and https://strawberry.rocks/ GraphQL server.
Dependencies
Python ≥ 3.6
Django ≥ 2.2
Strawberry ≥ 0.15.1
Installation
Install the last stable version from PyPI.
pip install django-graphiql-strawberry-debug-toolbar
See the documentation for further guidance on setting Django Debug Toolbar.
Add graphiql_strawberry_debug_toolbar to your INSTALLED_APPS settings:
INSTALLED_APPS = [
'debug_toolbar',
'graphiql_strawberry_debug_toolbar',
]
Replace the Django Debug Toolbar middleware with the GraphiQL Debug Toolbar one.
MIDDLEWARE = [
# 'debug_toolbar.middleware.DebugToolbarMiddleware',
'graphiql_strawberry_debug_toolbar.middleware.DebugToolbarMiddleware',
]
Credits to @jazzband / django-debug-toolbar
and @mongkok, the author of the orignal tool for graphene.
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.