{% extends 'admin/model/list.html' %} {% block body %}

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 {{ h.get_current_view().name }} view.

{{ super() }} {% endblock %}