Source

django-odb / odb / templates / odb / model.html

{% extends "odb/base.html" %}

{% block title %}{{class}} - {{path}}{% endblock %}

{% block body %}
<h2>{{class}} - {{path}}</h2>
<table>
<thead><tr><th>Field name</th><th>Value</th></tr></thead>
<tbody>
{% for field in object %}
<tr><td>{{field.name|title}}</td><td>{{field.value}}</td></tr> 
{% endfor %}
</tbody></table>
<a href="/manage{{path}}">Edit</a>
{% endblock %}