Add contest summary url
This commit is contained in:
parent
b4c1620497
commit
5f97491f0d
1 changed files with 3 additions and 0 deletions
|
@ -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])
|
||||
|
|
Loading…
Reference in a new issue