@ -1,5 +1,5 @@
{% autoescape off %}
Hi {{ user.username }},
Please click on the link to confirm your email,
http://{{ domain }}{% url 'activate' uidb64=uid token=token %}
{{ scheme }}://{{ domain }}{% url 'activate' uidb64=uid token=token %}
{% endautoescape %}
@ -39,6 +39,7 @@ class SignupView(TemplateView):
message = render_to_string('acc_active_email.html', {
'user': user,
'domain': current_site.domain,
'scheme': request.scheme,
'uid': urlsafe_base64_encode(force_bytes(user.pk)).decode(),
'token': account_activation_token.make_token(user),
})