if I have a variable in the context of unknown length, for example; list=[{\'key\':\'A\'},{\'key\':\'B\'},{\'key\':\'C\'}]
list=[{\'key\':\'A\'},{\'key\':\'B\'},{\'key\':\'C\'}]
How can I get the last ob
You can mark the last forloop by the following tags
{% if forloop.last %} ... {% endif %}
and add you special desire inside the tags.