Skip to content
Snippets Groups Projects
Commit e2921ee9 authored by Martin Mareš's avatar Martin Mareš
Browse files

DB: Contest.participations

parent acc1345b
No related branches found
No related tags found
No related merge requests found
......@@ -515,6 +515,7 @@ class Contest(Base):
place = relationship('Place')
round = relationship('Round')
scoretable = relationship('ScoreTable', primaryjoin='Contest.scoretable_id == ScoreTable.scoretable_id', viewonly=True)
participations = relationship('Participation', viewonly=True)
def is_subcontest(self) -> bool:
return self.master_contest_id != self.contest_id
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment