[Fixed]-How part queryset in Temokate

1👍

{% for dash_item in dash_list %}{{dash_item.0.count}}{{dash_item.0.dash_id}}{{dash_item.1}}{{dash_item.2}}{% endfor %}

Here {{dash_item}} is again a list so used {{dash_item.0}} to get the first element and similarly {{dash_item.1}} and {{dash_item.2}} to get the 2nd and 3rd items respectively.

Leave a comment