{% extends 'admin/model/list.html' %} {% block main %}
This view demonstrated a tree structure, where there's a recursive relationship between records on the same table.
It also demonstrates how to extend the builtin list.html template, and pass your own parameters to the template. E.g. the parameter: foo, which has the value {{ foo }}, passed in dynamically from the view.
{{ super() }} {% endblock %}