def delete(self, *args, **kwargs): user = self.user self.publish_delete('email') self.publish_delete('pk') process_post_recipient_id_deletion.delay(self.email) super(CachedEmailAddress, self).delete(*args, **kwargs) user.publish()
def delete(self): self.publish_delete('identifier') super(UserRecipientIdentifier, self).delete() process_post_recipient_id_deletion.delay(self.identifier)