Skip to main content

Django Debug Toolbar for GraphiQL IDE

Project description

Pypi Wheel Build Status Codecov Code Climate

Django Debug Toolbar for GraphiQL IDE

https://user-images.githubusercontent.com/5514990/36340939-23036dbe-1419-11e8-8a59-a04503b0f62c.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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-graphiql-debug-toolbar-0.1.0.tar.gz (5.3 kB view hashes)

Uploaded Source

Built Distribution

django_graphiql_debug_toolbar-0.1.0-py2.py3-none-any.whl (7.0 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page