{% for record in object.compoundrecords_set.all %}
    {{ record.compound_key|lower }}
{% endfor %}