This commit is contained in:
Kuroshini 2020-01-10 19:56:53 +03:00
parent 8450e48d39
commit dabc63647d

View File

@ -132,7 +132,7 @@ class Subscriber(ProjectBaseMixin):
@property
def active_subscriptions(self):
return self.subscription_types.filter(subscriber__subscribe__unsubscribe_date__isnull=True)
return self.subscription_types.exclude(subscriber__subscribe__unsubscribe_date__isnull=False)
class Subscribe(ProjectBaseMixin):