share submission

This commit is contained in:
virusdefender
2019-03-13 17:57:41 +08:00
parent d969c6fe5e
commit 8cdc4acaaf
4 changed files with 21 additions and 0 deletions

View File

@@ -80,6 +80,7 @@ class Problem(models.Model):
accepted_number = models.BigIntegerField(default=0)
# {JudgeStatus.ACCEPTED: 3, JudgeStaus.WRONG_ANSWER: 11}, the number means count
statistic_info = JSONField(default=dict)
share_submission = models.BooleanField(default=False)
class Meta:
db_table = "problem"