Example #1
0
 def save(self, *args, **kwargs):
     super(CachedEmailAddress, self).save(*args, **kwargs)
     process_post_recipient_id_verification_change.delay(
         self.email, 'email', self.verified)
     if not self.emailaddressvariant_set.exists(
     ) and self.email != self.email.lower():
         self.add_variant(self.email.lower())
Example #2
0
 def save(self, *args, **kwargs):
     self.validate_identifier()
     super(UserRecipientIdentifier, self).save(*args, **kwargs)
     process_post_recipient_id_verification_change.delay(self.identifier, self.type, self.verified)