2005-10-19 09:09:05 +08:00
|
|
|
{% extends "admin/base_site" %}
|
2005-07-16 11:46:17 +08:00
|
|
|
|
|
|
|
{% block extrahead %}
|
|
|
|
|
|
|
|
{{ block.super }}
|
|
|
|
|
|
|
|
<style type="text/css">
|
|
|
|
|
|
|
|
.module table { width:100%; }
|
|
|
|
|
|
|
|
</style>
|
|
|
|
|
|
|
|
{% endblock %}
|
|
|
|
|
2005-07-29 23:25:31 +08:00
|
|
|
{% block breadcrumbs %}<div class="breadcrumbs"><a href="../../../">Home</a> › <a href="../../">Documentation</a> › <a href="../">Models</a> › {{ name }}</div>{% endblock %}
|
2005-07-16 11:46:17 +08:00
|
|
|
|
|
|
|
{% block title %}Model: {{ name }}{% endblock %}
|
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
<div id="content-main">
|
|
|
|
<h1>{{ summary }}</h1>
|
|
|
|
|
|
|
|
<div class="module">
|
|
|
|
<table class="model">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th>Field</th>
|
|
|
|
<th>Type</th>
|
|
|
|
<th>Description</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
{% for field in fields|dictsort:"name" %}
|
|
|
|
<tr>
|
|
|
|
<td>{{ field.name }}</td>
|
|
|
|
<td>{{ field.data_type }}</td>
|
2005-11-28 07:16:26 +08:00
|
|
|
<td>{% if field.verbose %}{{ field.verbose }}{% endif %}{% if field.help_text %} - {{ field.help_text }}{% endif %}</td>
|
2005-07-16 11:46:17 +08:00
|
|
|
</tr>
|
|
|
|
{% endfor %}
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<p class="small"><a href="../">‹ Back to Models Documentation</p>
|
|
|
|
</div>
|
|
|
|
{% endblock %}
|