mirror of
https://github.com/ae-utbm/sith.git
synced 2024-11-22 06:03:20 +00:00
club: make clubs viewable by old subscribers
Signed-off-by: Skia <skia@libskia.so>
This commit is contained in:
parent
4810934a10
commit
6ebdd53d98
@ -188,7 +188,7 @@ class Club(models.Model):
|
|||||||
sub = User.objects.filter(pk=user.pk).first()
|
sub = User.objects.filter(pk=user.pk).first()
|
||||||
if sub is None:
|
if sub is None:
|
||||||
return False
|
return False
|
||||||
return sub.is_subscribed
|
return sub.was_subscribed
|
||||||
|
|
||||||
_memberships = {}
|
_memberships = {}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user