2006-05-02 09:31:56 +08:00
|
|
|
{% extends "admin/base_site.html" %}
|
2005-12-01 14:52:16 +08:00
|
|
|
{% load i18n %}
|
2005-07-16 11:46:17 +08:00
|
|
|
{% block extrahead %}
|
|
|
|
{{ block.super }}
|
|
|
|
<style type="text/css">
|
|
|
|
.module table { width:100%; }
|
2006-05-18 23:17:42 +08:00
|
|
|
.module table p { padding: 0; margin: 0; }
|
2005-07-16 11:46:17 +08:00
|
|
|
</style>
|
|
|
|
{% endblock %}
|
|
|
|
|
2007-11-14 20:58:53 +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
|
|
|
|
2007-11-14 20:58:53 +08:00
|
|
|
{% block title %}Model: {{ name }}{% endblock %}
|
2005-07-16 11:46:17 +08:00
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
<div id="content-main">
|
2007-11-14 20:58:53 +08:00
|
|
|
<h1>{{ summary }}</h1>
|
2005-07-16 11:46:17 +08:00
|
|
|
|
2006-02-28 05:05:50 +08:00
|
|
|
{% if description %}
|
2007-11-14 20:58:53 +08:00
|
|
|
<p>{% filter linebreaksbr %}{% trans description %}{% endfilter %}</p>
|
2006-02-28 05:05:50 +08:00
|
|
|
{% endif %}
|
|
|
|
|
2005-07-16 11:46:17 +08:00
|
|
|
<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>
|
2008-07-29 21:32:47 +08:00
|
|
|
<td>{% if field.verbose %}{{ field.verbose }}{% endif %}{% if field.help_text %} - {{ field.help_text|safe }}{% endif %}</td>
|
2005-07-16 11:46:17 +08:00
|
|
|
</tr>
|
|
|
|
{% endfor %}
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
2006-05-02 09:31:56 +08:00
|
|
|
<p class="small"><a href="../">‹ Back to Models Documentation</a></p>
|
2005-07-16 11:46:17 +08:00
|
|
|
</div>
|
|
|
|
{% endblock %}
|