{% extends 'main/base.html' %} {% block title %} Error 404 {% endblock %} {% block content %}

Вы всё сломали :)

{% endblock %}