Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Removed unneeded panels from the debug toolbar
NyanKiyoshicab0cdb884bc
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex eb294836cb..2df9c25745 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -6,6 +6,7 @@ All notable, unreleased changes to this project will be documented in this file.- Fixed internal error when creating a checkout with a voucher code - #4292 by @NyanKiyoshi- Add filter tab name as required - #4269 by @benekex2+- A few unused panels are now disabled by default from the debug toolbar; this should improve loading time when debugging - #4301 by @NyanKiyoshi## 2.7.0diff --git a/saleor/settings.py b/saleor/settings.pyindex b31a51d980..f45cae9075 100644--- a/saleor/settings.py+++ b/saleor/settings.py@@ -272,18 +272,10 @@ if ENABLE_DEBUG_TOOLBAR:DEBUG_TOOLBAR_PANELS = [# adds a request history to the debug toolbar"ddt_request_history.panels.request_history.RequestHistoryPanel",- "debug_toolbar.panels.versions.VersionsPanel","debug_toolbar.panels.timer.TimerPanel",- "debug_toolbar.panels.settings.SettingsPanel","debug_toolbar.panels.headers.HeadersPanel","debug_toolbar.panels.request.RequestPanel","debug_toolbar.panels.sql.SQLPanel",- "debug_toolbar.panels.templates.TemplatesPanel",- "debug_toolbar.panels.staticfiles.StaticFilesPanel",- "debug_toolbar.panels.cache.CachePanel",- "debug_toolbar.panels.signals.SignalsPanel",- "debug_toolbar.panels.logging.LoggingPanel",- "debug_toolbar.panels.redirects.RedirectsPanel","debug_toolbar.panels.profiling.ProfilingPanel",]DEBUG_TOOLBAR_CONFIG = {"RESULTS_CACHE_SIZE": 100}