fix
This commit is contained in:
parent
8450e48d39
commit
dabc63647d
|
|
@ -132,7 +132,7 @@ class Subscriber(ProjectBaseMixin):
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def active_subscriptions(self):
|
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):
|
class Subscribe(ProjectBaseMixin):
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user