将首页题目修改为每页40道

This commit is contained in:
virusdefender 2015-11-09 20:17:51 +08:00
parent 7375fc4b3f
commit e4888417bf

View File

@ -294,7 +294,7 @@ def problem_list_page(request, page=1):
return error_page(request, u"标签不存在")
problems = tag.problem_set.all().filter(visible=True)
paginator = Paginator(problems, 20)
paginator = Paginator(problems, 40)
try:
current_page = paginator.page(int(page))
except Exception: