添加控制比赛排名更新的字段

This commit is contained in:
sxw@401 2015-09-12 17:08:29 +08:00
parent d06096b19b
commit 3c10ccb8d2

View File

@ -12,8 +12,8 @@ class Contest(models.Model):
description = models.TextField() description = models.TextField()
# 比赛模式0 即为是acm模式1 即为是按照总的 ac 题目数量排名模式 # 比赛模式0 即为是acm模式1 即为是按照总的 ac 题目数量排名模式
mode = models.IntegerField() mode = models.IntegerField()
# 是否显示排名结果 # 是否显示实时排名结果
show_rank = models.BooleanField() real_time_rank = models.BooleanField()
# 是否显示别人的提交记录 # 是否显示别人的提交记录
show_user_submission = models.BooleanField() show_user_submission = models.BooleanField()
# 只能超级管理员创建公开赛,管理员只能创建小组内部的比赛 # 只能超级管理员创建公开赛,管理员只能创建小组内部的比赛