Open Vyko opened 2 years ago
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.
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.
What happened?
When setting
CACHALOT_ENABLED = False
but addingcachalot.panels.CachalotPanel
panel in theDEBUG_TOOLBAR_PANELS
variable, it acts likeCACHALOT_ENABLED
wasTrue
What should've happened instead?
Adding
cachalot.panels.CachalotPanel
should not override theCACHALOT_ENABLED
settingSteps to reproduce
django 2.2 cachalot 2.5 django-debug-toolbar 3.0.0