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

Overview: Cleanup

parent a0693e44
No related branches found
No related tags found
1 merge request!123Zakládání soutěží z orgovské hlavní stránky
...@@ -68,7 +68,6 @@ def org_index(): ...@@ -68,7 +68,6 @@ def org_index():
.all()) .all())
# Soutěžní místa, ke kterým máme nějakou roli # Soutěžní místa, ke kterým máme nějakou roli
contest_place = aliased(db.Place)
place_rcu = (rcu_base place_rcu = (rcu_base
.filter(not_(db.Round.state.in_([db.RoundState.preparing, db.RoundState.closed]))) # for performance .filter(not_(db.Round.state.in_([db.RoundState.preparing, db.RoundState.closed]))) # for performance
.filter(db.Place.level >= db.Round.level) .filter(db.Place.level >= db.Round.level)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment