def save(self, *args, **kwargs): adding = self._state.adding super().save(*args, **kwargs) if adding: send_external_challenge_created_email(self)
def setup_external_challenge( instance: ExternalChallenge = None, created: bool = False, *_, **__ ): if created: send_external_challenge_created_email(instance)
def setup_external_challenge( instance: ExternalChallenge = None, created: bool = False, *_, **__ ): if created: send_external_challenge_created_email(instance)