{% load adminsortable_tags %} {% with list_objects_length=list_objects|length %} {% for object in list_objects %}
  • {% if list_objects_length > 1 %} {% render_object_rep object %} {% else %} {{ object }} {% endif %}
  • {% endfor %} {% endwith %}