{% extends "user.html" %} {% load extra_tags %} {% load humanize %} {% block usercontent %}
{{questions|length}}

个问题

{% include "users_questions.html" %}

 

{{answered_questions|length}}

个回答

{% for answered_question in answered_questions %}
{{ answered_question.vote_count }}
{% endfor %}

 

{{total_votes}}

个投票

{{up_votes}} {{down_votes}}

 

{{tags|length}}

个标签

{% for tag in tags%} × {{ tag.used_count|intcomma }}
{% if forloop.counter|divisibleby:"10" %}
{% endif %} {% endfor %}

 

{{total_awards}}

枚奖牌

{% for award in awards %}  {{ award.name }} × {{ award.count|intcomma }}
{% if forloop.counter|divisibleby:"6" %}
{% endif %} {% endfor %}
{% endblock %}