{% extends 'base.html' %} {% block title %}Error!{% endblock %} {% block content %} ERROR: {% autoescape false %} {# Preserve HTML tags in the text #} {{ message | replace('\n', '') }} {% endautoescape %} {% endblock %}