From c179d183c862e230ad8fe1ab3923aa1b4d9bca29 Mon Sep 17 00:00:00 2001 From: "sxw@401" Date: Sun, 13 Sep 2015 20:00:42 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E6=96=B0=E5=A2=9E=E5=AD=97?= =?UTF-8?q?=E6=AE=B5=E7=9A=84=E9=BB=98=E8=AE=A4=E5=80=BC=E4=BB=A5=E4=BE=BF?= =?UTF-8?q?=E4=BA=8Emigrate?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- contest/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contest/models.py b/contest/models.py index 190fce3..8b8a260 100644 --- a/contest/models.py +++ b/contest/models.py @@ -95,7 +95,7 @@ class ContestSubmission(models.Model): # 总的时间,用于acm 类型的,也需要保存罚时 total_time = models.IntegerField(default=0) # 第一个解出此题目 - first_achieved = models.BooleanField() + first_achieved = models.BooleanField(default=False) class Meta: db_table = "contest_submission"