2005-10-19 09:09:05 +08:00
|
|
|
{% extends "admin/base_site" %}
|
2005-12-01 14:52:16 +08:00
|
|
|
{% load i18n %}
|
2005-07-29 23:25:31 +08:00
|
|
|
{% block coltype %}colSM{% endblock %}
|
|
|
|
{% block breadcrumbs %}<div class="breadcrumbs"><a href="../../">Home</a> › <a href="../">Documentation</a> › Models</div>{% endblock %}
|
2005-12-01 14:52:16 +08:00
|
|
|
{% block userlinks %}<a href="../../password_change/">{% trans 'Change password' %}</a> / <a href="../../logout/">{% trans 'Log out' %}</a>{% endblock %}
|
2005-07-16 11:46:17 +08:00
|
|
|
|
|
|
|
{% block title %}Models{% endblock %}
|
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
|
|
|
|
<h1>Models Documentation</h1>
|
2005-07-29 23:25:31 +08:00
|
|
|
|
2005-07-16 11:46:17 +08:00
|
|
|
<div id="content-main">
|
|
|
|
{% regroup models|dictsort:"module" by module as grouped_models %}
|
2005-07-29 23:25:31 +08:00
|
|
|
{% for group in grouped_models %}
|
2005-07-16 11:46:17 +08:00
|
|
|
<div class="module">
|
|
|
|
<h2 id='{{ group.grouper }}'>{{ group.grouper }}</h2>
|
|
|
|
|
|
|
|
<table class="xfull">
|
|
|
|
{% for model in group.list %}
|
2005-07-29 23:25:31 +08:00
|
|
|
<tr>
|
|
|
|
<th><a href="{{ model.name }}/">{{ model.class }}</a></th>
|
2005-07-16 11:46:17 +08:00
|
|
|
</tr>
|
|
|
|
{% endfor %}
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
{% endfor %}
|
2005-07-29 23:25:31 +08:00
|
|
|
|
2005-07-16 11:46:17 +08:00
|
|
|
</div>
|
2005-07-29 23:25:31 +08:00
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block sidebar %}
|
|
|
|
<div id="content-related" class="sidebar">
|
|
|
|
<div class="module">
|
|
|
|
<h2>Model Groups Quick List</h2>
|
|
|
|
<ul>
|
2005-07-16 11:46:17 +08:00
|
|
|
{% regroup models|dictsort:"module" by module as grouped_models %}
|
2005-07-29 23:25:31 +08:00
|
|
|
{% for group in grouped_models %}
|
|
|
|
<li><a href="#{{ group.grouper }}">{{ group.grouper }}</a></li>
|
|
|
|
{% endfor %}
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</div>
|
2005-07-16 11:46:17 +08:00
|
|
|
{% endblock %}
|