Commit 0ba69da3 authored by Krophil's avatar Krophil Committed by Skia
Browse files

Fix AGAIN subscription display

parent 3793321c
Pipeline #1391 passed with stage
in 5 minutes and 15 seconds
......@@ -231,7 +231,7 @@ class User(AbstractBaseUser):
@cached_property
def is_subscribed(self):
s = self.subscriptions.filter(subscription_start__lte=timezone.now()).last()
s = self.subscriptions.filter(subscription_start__lte=timezone.now()).order_by('subscription_end').last()
return s.is_valid_now() if s is not None else False
_club_memberships = {}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment