Skip to content

flavors/django-graphiql-debug-toolbar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

author
mongkok
Mar 25, 2018
efa18b3 Â· Mar 25, 2018

History

30 Commits
Mar 25, 2018
Feb 17, 2018
Mar 15, 2018
Feb 17, 2018
Feb 17, 2018
Feb 17, 2018
Feb 17, 2018
Mar 25, 2018
Feb 17, 2018
Feb 17, 2018
Mar 24, 2018
Mar 16, 2018
Feb 17, 2018
Feb 17, 2018
Feb 17, 2018

Repository files navigation

Django GraphiQL Debug Toolbar

Pypi Wheel Build Status Codecov Code Climate

Django Debug Toolbar for GraphiQL IDE

https://user-images.githubusercontent.com/5514990/36340937-1937ee68-1419-11e8-8477-40622e98c312.gif

Dependencies

  • Python ≥ 3.4
  • Django ≥ 1.11

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',
    ...
]

Limitations

Panels rendering is not supported in multiprocess environment.


Credits to @jazzband / django-debug-toolbar.