Added unsubscribe action
This commit is contained in:
parent
140cc6cfa5
commit
fcfebcd952
|
|
@ -115,6 +115,7 @@ class Subscriber(ProjectBaseMixin):
|
|||
def unsubscribe(self, query: dict):
|
||||
"""Unsubscribe user."""
|
||||
self.subscribe_set.update(unsubscribe_date=now())
|
||||
self.subscription_types = []
|
||||
|
||||
@property
|
||||
def send_to(self):
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user