feat: reduce db queries when saving order on session

This commit is contained in:
Herculino Trotta
2025-01-29 00:12:47 -03:00
parent 190be3e813
commit 19a65ac45f
3 changed files with 5 additions and 3 deletions
+1 -1
View File
@@ -222,7 +222,7 @@ SESSION_COOKIE_SECURE = os.getenv("HTTPS_ENABLED", "false").lower() == "true"
DEBUG_TOOLBAR_CONFIG = {
"ROOT_TAG_EXTRA_ATTRS": "hx-preserve",
"SHOW_TOOLBAR_CALLBACK": lambda r: False, # disables it}
# "SHOW_TOOLBAR_CALLBACK": lambda r: False, # disables it
}
DEBUG_TOOLBAR_PANELS = [
"debug_toolbar.panels.history.HistoryPanel",