Error when accessing a private competition and not logged in
When accessing a private competition through its secret URL and not logged in, we got this:
This is due to this, in views/competitions.py:
else:
# if user is not authenticated only filter published/public competitions
qs = qs.filter(Q(published=True))
This filter is the same for the search bar and for accessing the competition...