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