小编NIR*_*RIA的帖子

在 Django 模板中添加两个变量?

{% with a=pro_details.product_quantity|add:product_details.product_quantity %}
Run Code Online (Sandbox Code Playgroud)

我需要使用 with 和 add 在 Django 模板中添加两个变量。

python django templates

2
推荐指数
1
解决办法
6048
查看次数

标签 统计

django ×1

python ×1

templates ×1