Update models.py

Why this unrelated comments need
This commit is contained in:
SARVAR RAXMONOV 2022-12-24 17:32:10 +05:00 committed by GitHub
parent 64ef15420a
commit 6d14f4938b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -68,21 +68,6 @@ class User(AbstractBaseUser):
class UserProfile(models.Model):
user = models.OneToOneField(User, on_delete=models.CASCADE)
# acm_problems_status examples:
# {
# "problems": {
# "1": {
# "status": JudgeStatus.ACCEPTED,
# "_id": "1000"
# }
# },
# "contest_problems": {
# "1": {
# "status": JudgeStatus.ACCEPTED,
# "_id": "1000"
# }
# }
# }
acm_problems_status = JSONField(default=dict)
# like acm_problems_status, merely add "score" field
oi_problems_status = JSONField(default=dict)