{% for object in object_list|slice:":4" %} {% include template %} {% empty %} {% if empty_message %}{{ empty_message }}{% else %}Nothing!{% endif %} {% endfor %} {% with extras=object_list|slice:"4:" %} {% if extras %}