only include top ten items django for loop
{% for item in items|slice:":10" %}
{{ item.attribute1 }}
{{ item.attribute2 }}
{# Add more attributes as needed #}
{% endfor %}
{% for item in items|slice:":10" %}
{{ item.attribute1 }}
{{ item.attribute2 }}
{# Add more attributes as needed #}
{% endfor %}