https://github.com/flavors/django-graphiql-debug-toolbar
Django Debug Toolbar for GraphiQL IDE and Graphene
https://github.com/flavors/django-graphiql-debug-toolbar
debug django graphene graphiql graphql toolbar
Last synced: 6 months ago
JSON representation
Django Debug Toolbar for GraphiQL IDE and Graphene
- Host: GitHub
- URL: https://github.com/flavors/django-graphiql-debug-toolbar
- Owner: flavors
- License: mit
- Created: 2018-02-17T11:00:43.000Z (over 7 years ago)
- Default Branch: main
- Last Pushed: 2024-07-14T07:46:29.000Z (about 1 year ago)
- Last Synced: 2025-03-29T18:06:36.317Z (7 months ago)
- Topics: debug, django, graphene, graphiql, graphql, toolbar
- Language: Python
- Homepage: https://pypi.python.org/pypi/django-graphiql-debug-toolbar
- Size: 77.1 KB
- Stars: 72
- Watchers: 3
- Forks: 25
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGES.rst
- License: LICENSE
Awesome Lists containing this project
README
# Django GraphiQL Debug Toolbar
[](https://github.com/flavors/django-graphiql-debug-toolbar/actions)
[](https://codecov.io/gh/flavors/django-graphiql-debug-toolbar)
[](https://www.codacy.com/gh/flavors/django-graphiql-debug-toolbar/dashboard)
[](https://pypi.python.org/pypi/django-graphiql-debug-toolbar)[Django Debug Toolbar](https://github.com/jazzband/django-debug-toolbar) for [GraphiQL](https://github.com/graphql/graphiql) IDE.

## Dependencies
* Python ≥ 3.6
* Django ≥ 2.2## Installation
Install last stable version from Pypi.
```sh
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.
```py
MIDDLEWARE = [
# 'debug_toolbar.middleware.DebugToolbarMiddleware',
'graphiql_debug_toolbar.middleware.DebugToolbarMiddleware',
]
```Credits to [@jazzband](https://jazzband.co) / [django-debug-toolbar](https://github.com/jazzband/django-debug-toolbar).