{% load relations %} {% relations_from from_obj=object as relations %} {% possible_relation_types_from object as possible_relations %} {% get_relation_targets_from object as possible_targets %}
{% include "relations/list_relations.html" %}
{% for target in possible_targets %}
{% include "relations/list_relations.html" %}
{% endfor %}