{% load i18n %} {{ attachment.name|truncatechars:20 }} {{ attachment.name }} {{ attachment.size|filesizeformat }}