{% for object in results %} {{ object }} {% if object.status %}{% badge object.get_status_display bg_color=object.get_status_color %}{% endif %} {% if object.description %} {{ object.description }} {% endif %} {% endfor %}