Strings in Django templates are automatically escaped. You don't want your raw HTML to be auto-escaped, so you should either pass the string to the safe filter:
{{ message|safe }}
or disable autoescape with the autoescape tag:
{% autoescape off %}
{{ message }}
{% endautoescape %}