{% extends "base.html" %} {% load handletags %} {% block content %}
{{ field.0 }} | {% if field.1.through %}{{ field.1.all|linkObjects|default:"-" }}{% else %}{{ field.1|default:"-" }}{% endif %} |
Actions | {% with request.resolver_match.namespaces.0|add:":"|add:object.getClassName|lower|add:"-edit" as editView %} {% with request.resolver_match.namespaces.0|add:":"|add:object.getClassName|lower|add:"-delete" as deleteView %}Edit object, Delete object | {% endwith %} {% endwith %}