Skip to main content

Django Debug Toolbar for GraphiQL IDE in Strawberry.

Project description

Django GraphiQL Strawberry Debug Toolbar

Tests Package version

Django Debug Toolbar for GraphiQL IDE and https://strawberry.rocks/ GraphQL server.

Graphiql Debug Toolbar

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


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

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