Add Django-1.2.1
[frozenviper.git] / Django-1.2.1 / django / contrib / admindocs / templates / admin_doc / model_index.html
blob47c94c0c70f23c9f380e864fdb6821ac01a05308
1 {% extends "admin/base_site.html" %}
2 {% load i18n %}
3 {% block coltype %}colSM{% endblock %}
4 {% block breadcrumbs %}<div class="breadcrumbs"><a href="../../">Home</a> &rsaquo; <a href="../">Documentation</a> &rsaquo; Models</div>{% endblock %}
6 {% block title %}Models{% endblock %}
8 {% block content %}
10 <h1>Model documentation</h1>
12 {% regroup models by app_label as grouped_models %}
14 <div id="content-main">
15 {% for group in grouped_models %}
16 <div class="module">
17 <h2 id="app-{{ group.grouper }}">{{ group.grouper|capfirst }}</h2>
19 <table class="xfull">
20 {% for model in group.list %}
21 <tr>
22 <th><a href="{{ model.app_label }}.{{ model.object_name.lower }}/">{{ model.object_name }}</a></th>
23 </tr>
24 {% endfor %}
25 </table>
26 </div>
27 {% endfor %}
29 </div>
30 {% endblock %}
32 {% block sidebar %}
33 <div id="content-related" class="sidebar">
34 <div class="module">
35 <h2>Model groups</h2>
36 <ul>
37 {% regroup models by app_label as grouped_models %}
38 {% for group in grouped_models %}
39 <li><a href="#app-{{ group.grouper }}">{{ group.grouper|capfirst }}</a></li>
40 {% endfor %}
41 </ul>
42 </div>
43 </div>
44 {% endblock %}