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

Unexpected behavior when using DjangoDebugToolbar #216

Open
Vyko opened this issue Jun 13, 2022 · 2 comments
Open

Unexpected behavior when using DjangoDebugToolbar #216

Vyko opened this issue Jun 13, 2022 · 2 comments
Labels

Comments

@Vyko
Copy link

Vyko commented Jun 13, 2022

What happened?

When setting CACHALOT_ENABLED = False but adding cachalot.panels.CachalotPanel panel in the DEBUG_TOOLBAR_PANELS variable, it acts like CACHALOT_ENABLED was True

What should've happened instead?

Adding cachalot.panels.CachalotPanel should not override the CACHALOT_ENABLED setting

Steps to reproduce

django 2.2
cachalot 2.5
django-debug-toolbar 3.0.0

@Vyko Vyko changed the title Unexpected behavior when using DjangoDegugToolbar Unexpected behavior when using DjangoDebugToolbar Jun 13, 2022
@tahme
Copy link

tahme commented Nov 9, 2023

Anybody else wondering about this, the Cachalot checkbox in the debug toolbar controls if cachalot is enabled for your requests or not. A useful feature, but took me a while to find out why CACHALOT_ENABLED=False didn't work.

1 similar comment
@tahme
Copy link

tahme commented Nov 9, 2023

Anybody else wondering about this, the Cachalot checkbox in the debug toolbar controls if cachalot is enabled for your requests or not. A useful feature, but took me a while to find out why CACHALOT_ENABLED=False didn't work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants