📅  最后修改于: 2022-03-11 15:04:33.088000             🧑  作者: Mango
INSTALLED_APPS = [
...
'cart',
]
Add below line to settings context_processor::
'cart.context_processor.cart_total_amount'
CART_SESSION_ID = 'cart'