{% autoescape off %} Hi {{ user.username }}, Please click on the link below to confirm your registration: {{ protocol }}://{{ domain }}{% url 'auth:activate' uidb64=uid token=token %} {% endautoescape %}