'Generates a one-use only link for resetting password and sends to the
user.'

def save(self, subject_template_name='emails/password_reset_subject.txt', email_template_name='registration/password_reset_email.html', use_https=False, token_generator=default_token_generator, from_email=configuration_helpers.get_value('email_from_address', settings.DEFAULT_FROM_EMAIL), request=None):

    from django.core.mail import send_mail
    for user in self.users_cache:
        site_name = configuration_helpers.get_value('SITE_NAME', settings.SITE_NAME)
        context = {'email': user.email, 'site_name': site_name, 'uid': int_to_base36(user.id), 'user': user, 'token': token_generator.make_token(user), 'protocol': ('https' if use_https else 'http'), 'platform_name': configuration_helpers.get_value('platform_name', settings.PLATFORM_NAME)}
        subject = loader.render_to_string(subject_template_name, context)
        subject = subject.replace('\n', '')
        email = loader.render_to_string(email_template_name, context)
        send_mail(subject, email, from_email, [user.email])
