使用关联查询提供性能

This commit is contained in:
virusdefender committed 2015-09-25 15:04:57 +08:00
1 parent f7a8b80b0c
commit e3d3fa7eb4
2 files changed
+5 -5

No files matched your search

+2 -2
View File
@@ -39,8 +39,8 @@
<th class="text-center">AC / 总提交</th>
<th class="text-center">用时 + 罚时</th>
{% for item in contest_problems %}
<th class="text-center"><a
href="/contest/{{ contest.id }}/problem/{{ item.id }}/">{{ item.sort_index }}</a>
<th class="text-center">
<a href="/contest/{{ contest.id }}/problem/{{ item.id }}/">{{ item.sort_index }}</a>
</th>
{% endfor %}
</tr>