user_management/models/mixins.py
def send_validation_email(self):
        """Send a validation email to the user's email address."""
        if self.email_verified:
            raise ValueError(_('Cannot validate already active user.'))

        site = Site.objects.get_current()
        self.validation_notification(user=self, site=site).notify()
def send_validation_email(self):
        if self.email_verified:
            raise ValueError(_('Cannot validate already active user.'))

        site = Site.objects.get_current()
        self.validation_notification(user=self, site=site).notify()
def send_validation_email ( self ) : if self . email_verified : raise ValueError ( _ ( 'Cannot validate already active user.' ) ) site = Site . objects . get_current ( ) self . validation_notification ( user = self , site = site ) . notify ( )
Send a validation email to the user's email address.
Send a validation email to the user s email address .