{% load admin_static admin_list i18n %} {% if obj.attachments.all|length %}
{{ obj|length}}
{% endif %}