{% load handletags %} {% for field in object|getFields:user %} {% endfor %} {% if object|userCanEdit:user %} {% with object.getAppName|add:":"|add:object.getClassName|lower|add:"-edit" as editView %} {% with object.getAppName|add:":"|add:object.getClassName|lower|add:"-delete" as deleteView %} {% endwith %} {% endwith %} {% endif %}
{{ field.0 }} {% if field.1.through %}{{ field.1.all|linkObjects|default:"-" }}{% else %}{{ field.1|tryLinkHandle|default:"-" }}{% endif %}
Actions