diff options
| author | Adrian Holovaty <adrian@holovaty.com> | 2005-10-19 01:09:05 +0000 |
|---|---|---|
| committer | Adrian Holovaty <adrian@holovaty.com> | 2005-10-19 01:09:05 +0000 |
| commit | f07e5d4f5df5ca9ca3366d7ecc4b01c490c13198 (patch) | |
| tree | 1b73d89471554d058cb46bc13d17bd3687c638fa /django/contrib/admin/templates/admin_doc/model_index.html | |
| parent | fd3d579179581b1fa460e13115471d58fec0c8f6 (diff) | |
Fixed #627 -- BACKWARDS-INCOMPATIBLE CHANGE. Admin is now an app, not a middleware. See BackwardsIncompatibleChanges for a full list of changes and information on how to update your code.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@948 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'django/contrib/admin/templates/admin_doc/model_index.html')
| -rw-r--r-- | django/contrib/admin/templates/admin_doc/model_index.html | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/django/contrib/admin/templates/admin_doc/model_index.html b/django/contrib/admin/templates/admin_doc/model_index.html new file mode 100644 index 0000000000..5896ee136e --- /dev/null +++ b/django/contrib/admin/templates/admin_doc/model_index.html @@ -0,0 +1,44 @@ +{% extends "admin/base_site" %} + +{% block coltype %}colSM{% endblock %} + +{% block breadcrumbs %}<div class="breadcrumbs"><a href="../../">Home</a> › <a href="../">Documentation</a> › Models</div>{% endblock %} + +{% block title %}Models{% endblock %} + +{% block content %} + +<h1>Models Documentation</h1> + +<div id="content-main"> +{% regroup models|dictsort:"module" by module as grouped_models %} +{% for group in grouped_models %} +<div class="module"> +<h2 id='{{ group.grouper }}'>{{ group.grouper }}</h2> + +<table class="xfull"> +{% for model in group.list %} +<tr> +<th><a href="{{ model.name }}/">{{ model.class }}</a></th> +</tr> +{% endfor %} +</table> +</div> +{% endfor %} + +</div> +{% endblock %} + +{% block sidebar %} +<div id="content-related" class="sidebar"> +<div class="module"> +<h2>Model Groups Quick List</h2> +<ul> +{% regroup models|dictsort:"module" by module as grouped_models %} +{% for group in grouped_models %} + <li><a href="#{{ group.grouper }}">{{ group.grouper }}</a></li> +{% endfor %} +</ul> +</div> +</div> +{% endblock %} |
