{% extends "base.html" %} {% block content %}

Remove

Do you really want to remove {{ file.name }} ?

{% endblock %}