Skip to content

Hide Unreleased Tournament Matches#912

Merged
nour-massri merged 3 commits intomainfrom
hide-tournament-matches
Jan 20, 2025
Merged

Hide Unreleased Tournament Matches#912
nour-massri merged 3 commits intomainfrom
hide-tournament-matches

Conversation

@lowtorola
Copy link
Contributor

  • removes all unreleased tournament matches from the match queryset unless the user is staff
  • TODO: test!

@lowtorola lowtorola requested a review from nour-massri January 14, 2025 12:47
@nour-massri
Copy link
Member

the python tests test the serializer filter, while we moved the filter to views,
also our views filter is missing filtering out tournaments that aren't public, is_public = false

@nour-massri nour-massri force-pushed the hide-tournament-matches branch from 5eecd7f to f1a10ab Compare January 20, 2025 00:35
@nour-massri nour-massri merged commit a4c2459 into main Jan 20, 2025
3 checks passed
@nour-massri nour-massri deleted the hide-tournament-matches branch January 20, 2025 00:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants