add leaderboard

This commit is contained in:
2026-03-09 20:00:06 +08:00
parent c01273bccd
commit 3a58925764
9 changed files with 104 additions and 4 deletions

View File

@@ -40,6 +40,7 @@ class Tutorial(Task):
class Challenge(Task):
score = models.IntegerField(default=0)
pass_score = models.FloatField(null=True, blank=True, verbose_name="通过分数线")
def __str__(self):
return self.title