mirror of
https://gitlab.com/animath/si/plateforme.git
synced 2025-07-04 04:12:08 +02:00
Better date render
This commit is contained in:
@ -198,6 +198,9 @@ class Tournament(models.Model):
|
||||
return Synthesis.objects.filter(final_solution=True)
|
||||
return Synthesis.objects.filter(participation__tournament=self)
|
||||
|
||||
def get_absolute_url(self):
|
||||
return reverse_lazy("participation:tournament_detail", args=(self.pk,))
|
||||
|
||||
def __str__(self):
|
||||
return repr(self)
|
||||
|
||||
|
Reference in New Issue
Block a user