2006-05-02 09:31:56 +08:00
|
|
|
{% extends "admin/base_site.html" %}
|
2005-12-01 14:52:16 +08:00
|
|
|
{% load i18n %}
|
2011-09-21 02:30:06 +08:00
|
|
|
{% load url from future %}
|
|
|
|
|
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 %}
|
|
|
|
|
2011-09-21 02:30:06 +08:00
|
|
|
{% block breadcrumbs %}
|
|
|
|
<div class="breadcrumbs">
|
|
|
|
<a href="{% url 'admin:index' %}">{% trans 'Home' %}</a>
|
|
|
|
› <a href="{% url 'django-admindocs-docroot' %}">{% trans 'Documentation' %}</a>
|
|
|
|
› <a href="{% url 'django-admindocs-models-index' %}">{% trans '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-09-08 13:19:28 +08:00
|
|
|
<td>{{ field.verbose }}{% if field.help_text %} - {{ field.help_text|safe }}{% endif %}</td>
|
2005-07-16 11:46:17 +08:00
|
|
|
</tr>
|
|
|
|
{% endfor %}
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
2011-09-21 02:30:06 +08:00
|
|
|
<p class="small"><a href="{% url 'django-admindocs-models-index' %}">‹ Back to Models Documentation</a></p>
|
2005-07-16 11:46:17 +08:00
|
|
|
</div>
|
|
|
|
{% endblock %}
|