Skip to content

przemub/django-graphiql-strawberry-debug-toolbar

 
 

Repository files navigation

Django GraphiQL Strawberry Debug Toolbar

Tests Package version

Django Debug Toolbar for GraphiQL IDE and Strawberry GraphQL server.

Graphiql Debug Toolbar

Dependencies

  • Python ≥ 3.7
  • 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.

About

Django Debug Toolbar for GraphiQL IDE and Graphene

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 77.9%
  • JavaScript 16.1%
  • Shell 4.7%
  • HTML 1.3%