Added saving date
This commit is contained in:
parent
25e118cf0b
commit
974e0ce8fe
|
|
@ -119,6 +119,7 @@ class Subscriber(ProjectBaseMixin):
|
|||
old_subscribes_types = [sub for sub in old_subscribes if sub.id not in new_ids]
|
||||
old_subscribes = Subscribe.objects.filter(subscriber=self, subscription_types__in=old_subscribes_types)
|
||||
old_subscribes.update(unsubscribe_date=now())
|
||||
old_subscribes.save()
|
||||
|
||||
self.save()
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user