{% extends 'mixins/partials/generic-detail.html' %} {% load cache %} {% block tbody %} {% cache 600 object_position_detail request.user.id object %} {% for key, item in object.items %} {% if key == 'trade_ids' %} {{ key }} {% if item is not None %} {% for trade_id in item %} {% endfor %} {% endif %} {% else %} {{ key }} {% if item is not None %} {{ item }} {% endif %} {% endif %} {% endfor %} {% endcache %} {% endblock %}