'Resets activation key for the user and resends activation email.'

def resend_activation_mail(self, email, site, request=None):

    try:
        profile = self.get(user__email__iexact=email)
    except ObjectDoesNotExist:
        return False
    if (profile.activated or profile.activation_key_expired()):
        return False
    profile.create_new_activation_key()
    profile.send_activation_email(site, request)
    return True
