阅读背景:

Django列表视图:在所有项目中使用时差

来源:互联网 

I'm rather new to Class Based Views, so this is probably obvious, but any tips are appreciated. I want to display "time left" for each item on a list. That is if I have 10 objects, each should display in the template the number of days, hours, mn left until a deadline arrives. Here's my attempt:I'm rather new to Class Based Views, so this is




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: