How to do math in a Django template?

后端 未结 3 822
傲寒
傲寒 2020-12-13 02:08

I want to do this:

100 - {{ object.article.rating_score }} 

So for example, the output would be 20 if {{ object.article.

3条回答
提交回复
热议问题