Add set scoreboard view
This commit is contained in:
parent
8e1e3b246a
commit
b3d80b5100
6 changed files with 34 additions and 1 deletions
|
@ -74,6 +74,7 @@ class ContestSelect2View(Select2View):
|
|||
q |= Q(is_organization_private=True,
|
||||
organizations__in=self.request.profile.organizations.all())
|
||||
q |= Q(is_private=True, private_contestants=self.request.profile)
|
||||
q |= Q(view_contest_scoreboard=self.request.profile)
|
||||
queryset = queryset.filter(q)
|
||||
return queryset
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue