📌  相关文章
📜  INSTALLED_APPS = [ ... 'cart', ] 将以下行添加到设置 context_processor:: 'cart.context_processor.cart_total_amount' CART_SESSION_ID = 'cart' - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:04:33.088000             🧑  作者: Mango

代码示例1
INSTALLED_APPS = [
    ...
    'cart',
]

Add below line to settings context_processor::
    'cart.context_processor.cart_total_amount'

CART_SESSION_ID = 'cart'