Django GraphiQL Debug Toolbar
Django Debug Toolbar for GraphiQL IDE.
Dependencies
- Python ≥ 3.6
- Django ≥ 2.2
Installation
Install last stable version from Pypi.
pip install django-graphiql-debug-toolbar
````
See the [documentation](https://django-debug-toolbar.readthedocs.io/en/stable/installation.html) for further guidance on setting *Django Debug Toolbar*.
Add `graphiql_debug_toolbar` to your *INSTALLED_APPS* settings:
```py
INSTALLED_APPS = [
'debug_toolbar',
'graphiql_debug_toolbar',
]
Replace the Django Debug Toolbar middleware with the GraphiQL Debug Toolbar one.
MIDDLEWARE = [
# 'debug_toolbar.middleware.DebugToolbarMiddleware',
'graphiql_debug_toolbar.middleware.DebugToolbarMiddleware',
]
Credits to @jazzband / django-debug-toolbar.