Django Debug Toolbar for GraphiQL IDE in Strawberry.
Project description
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file django-graphiql-strawberry-debug-toolbar-0.2.0.tar.gz
.
File metadata
- Download URL: django-graphiql-strawberry-debug-toolbar-0.2.0.tar.gz
- Upload date:
- Size: 5.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.13 CPython/3.9.10 Darwin/21.3.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6374e908e3e437f46cb42d5cedc5691fa16206b145c550a295869640b27a2f86 |
|
MD5 | 8517fae64a0067ee4be9945720d8965c |
|
BLAKE2b-256 | d3844895368570093c3df6e551de12786c804c7154f374c262e91f5111be2def |
File details
Details for the file django_graphiql_strawberry_debug_toolbar-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: django_graphiql_strawberry_debug_toolbar-0.2.0-py3-none-any.whl
- Upload date:
- Size: 7.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.13 CPython/3.9.10 Darwin/21.3.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3d3c91ede8694ddf663fe89d3a842df5907edb0ac1e36203a977dbe2412b02f3 |
|
MD5 | db7769b520497a738465579463b61890 |
|
BLAKE2b-256 | 533b0a41a01d5d255c3a3ebafbd8957f262a48cb2fdd22d5e57fb922555dddf5 |