{% load panya_inclusion_tags %} {% for object in object_list %} {% with object as entryitem %} {% render_object object.content.as_leaf_class "entryitem_list_block" %} {% endwith %} {% endfor %}