Django debug toolbar
All the extra features provided by this lib were contributed and merged directly into the official strawberry-graphql-django lib. Since then this lib is deprecated and the official integration should be used instead.
If you were using this lib before, check out the migration guide for more information on how to migrate your code.
This integration provides integration between the Django Debug Toolbar and
strawberry, allowing it to display stats like
Cache Hits, etc for queries and mutations done inside the graphiql page.
To use it, make sure you have the Django Debug Toolbar installed and configured, then change its middleware settings from:
MIDDLEWARE = [ ... "debug_toolbar.middleware.DebugToolbarMiddleware", ... ]
MIDDLEWARE = [ ... "strawberry_django_plus.middlewares.debug_toolbar.DebugToolbarMiddleware", ... ]
Finally, ensure app
"strawberry_django_plus" is added to your
INSTALLED_APPS in Django settings.