Remove save
This commit is contained in:
parent
62ab6248ba
commit
5a1d33c981
|
|
@ -195,12 +195,3 @@ class Subscribe(ProjectBaseMixin):
|
||||||
|
|
||||||
verbose_name = _('Subscribe')
|
verbose_name = _('Subscribe')
|
||||||
verbose_name_plural = _('Subscribes')
|
verbose_name_plural = _('Subscribes')
|
||||||
|
|
||||||
def save(self, *args, **kwargs):
|
|
||||||
if self.subscriber is not None:
|
|
||||||
self.old_subscriber_id = self.subscriber.pk
|
|
||||||
|
|
||||||
if self.subscription_type is not None:
|
|
||||||
self.old_subscription_type_id = self.subscription_type.pk
|
|
||||||
|
|
||||||
return super().save(*args, **kwargs)
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user