传递Django语句或访问特定查询集索引

Passing a Django Statement or Accessing specific query set index


答案1
<div class="forum_posts_count">
   {{ forum.thread | length }}
</div>

试试这个