diff --git a/judge/models/contest.py b/judge/models/contest.py index 5052399..db1b3e6 100644 --- a/judge/models/contest.py +++ b/judge/models/contest.py @@ -922,3 +922,6 @@ class ContestsSummary(models.Model): def __str__(self): return self.key + + def get_absolute_url(self): + return reverse("contests_summary", args=[self.key])