Debian Patches

Status for django-graphiql-debug-toolbar/0.2.0-7

Patch Description Author Forwarded Bugs Origin Last update
tests-Ignore-error-about-using-DDT.patch tests: Ignore error about using DDT
We need now to explicetly tell the test setup that we want to use the
Django Debug Toolbar. It's the sense of the testings. Otherwise the
following error will thrown.


ERRORS:
?: (debug_toolbar.E001) The Django Debug Toolbar can't be used with tests
HINT: Django changes the DEBUG setting to False when running tests. By default the Django Debug Toolbar is installed because DEBUG is set to True. For most cases, you need to avoid installing the toolbar when running tests. If you feel this check is in error, you can set `DEBUG_TOOLBAR_CONFIG['IS_RUNNING_TESTS'] = False` to bypass this check.
Carsten Schoenert <c.schoenert@t-online.de> no 2024-05-31
middleware.py-import-_HTML_TYPES-from-debug_toolbar.toolb.patch middleware.py: import _HTML_TYPES from debug_toolbar.toolbar Carsten Schoenert <c.schoenert@t-online.de> yes 2024-09-09
tests-Set-MIDDLEWARE-configuration.patch tests: Set MIDDLEWARE configuration
Newer Django is more picky about the configuration in settings.py

WARNINGS:
?: (debug_toolbar.W001) debug_toolbar.middleware.DebugToolbarMiddleware is missing from MIDDLEWARE.
HINT: Add debug_toolbar.middleware.DebugToolbarMiddleware to MIDDLEWARE.
Carsten Schoenert <c.schoenert@t-online.de> no 2025-03-28
tests-Set-STATIC_ROOT-STATIC_URL-in-settings.py.patch tests: Set STATIC_ROOT & STATIC_URL in settings.py
Django is requiring these settings as otherwise the test call will fail
with:
Carsten Schoenert <c.schoenert@t-online.de> no 2025-03-28
tests-Ignore-the-test_query-for-now.patch tests: Ignore the test_query() for now
It's a hack and workaround to ignore this test, but the upstream issue
tracker hasn't a PR or report were we could take an temporary fix.

https://github.com/flavors/django-graphiql-debug-toolbar/issues
Carsten Schoenert <c.schoenert@t-online.de> no 2025-03-28

All known versions for source package 'django-graphiql-debug-toolbar'

Links