flavors / django-graphiql-debug-toolbar

Django Debug Toolbar for GraphiQL IDE and Graphene

Home Page:https://pypi.python.org/pypi/django-graphiql-debug-toolbar

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Django GraphiQL Debug Toolbar

Tests Coverage Codacy Package version

Django Debug Toolbar for GraphiQL IDE.

Graphiql Debug Toolbar

Dependencies

  • Python ≥ 3.6
  • Django ≥ 2.2

Installation

Install last stable version from Pypi.

pip install django-graphiql-debug-toolbar

See the documentation for further guidance on setting Django Debug Toolbar.

Add graphiql_debug_toolbar to your INSTALLED_APPS settings:

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.

About

Django Debug Toolbar for GraphiQL IDE and Graphene

https://pypi.python.org/pypi/django-graphiql-debug-toolbar

License:MIT License


Languages

Language:Python 78.0%Language:JavaScript 16.3%Language:Shell 4.5%Language:HTML 1.2%