Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Comment out django_debug_toolbar settings from dev settings #489

Merged
merged 1 commit into from
Jun 12, 2024

Conversation

gasman
Copy link
Contributor

@gasman gasman commented Jun 12, 2024

The current version (4.4.2) of django-debug-toolbar aborts when running ./manage.py test with the toolbar enabled. While bakerydemo doesn't have any tests, .github/workflows/docker.yml runs this anyway, presumably as a sort of sanity check, and thus we need to properly disable django-debug-toolbar rather than just leaving it inactive via INTERNAL_IPS.

(The __debug__ route is still defined in bakerydemo.urls, but this seems to be harmless.)

The current version (4.4.2) of django-debug-toolbar aborts when running ./manage.py test with the toolbar enabled. While bakerydemo doesn't have any tests, .github/workflows/docker.yml runs this anyway, presumably as a sort of sanity check, and thus we need to properly disable django-debug-toolbar rather than just leaving it inactive via INTERNAL_IPS.

(The `__debug__` route is still defined in bakerydemo.urls, but this seems to be harmless.)
@gasman gasman force-pushed the fix/django-debug-toolbar-testing branch from 05f3234 to 4f67764 Compare June 12, 2024 11:54
@gasman gasman merged commit 2ba19b0 into wagtail:main Jun 12, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant