summaryrefslogtreecommitdiff
path: root/django/contrib/admin/templates/admin_doc/model_index.html
diff options
context:
space:
mode:
authorJacob Kaplan-Moss <jacob@jacobian.org>2008-08-09 15:53:50 +0000
committerJacob Kaplan-Moss <jacob@jacobian.org>2008-08-09 15:53:50 +0000
commit88baf06c3d7334e39273c22bffa2f80db4d71d58 (patch)
treecb83d3e4c47fdac71c1f64fa098be90c58b95028 /django/contrib/admin/templates/admin_doc/model_index.html
parent69d8ff31ac89eea5aba926f335538a81092e470b (diff)
Fixed #7811: moved admindocs templates into admindocs/templates. This is slightly backwards-incompatible in that if you're using the admindocs you'll need to add 'django.contrib.admindocs' to INSTALLED_APPS.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8264 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.html44
1 files changed, 0 insertions, 44 deletions
diff --git a/django/contrib/admin/templates/admin_doc/model_index.html b/django/contrib/admin/templates/admin_doc/model_index.html
deleted file mode 100644
index 702fdff329..0000000000
--- a/django/contrib/admin/templates/admin_doc/model_index.html
+++ /dev/null
@@ -1,44 +0,0 @@
-{% extends "admin/base_site.html" %}
-{% load i18n %}
-{% block coltype %}colSM{% endblock %}
-{% block breadcrumbs %}<div class="breadcrumbs"><a href="../../">Home</a> &rsaquo; <a href="../">Documentation</a> &rsaquo; Models</div>{% endblock %}
-
-{% block title %}Models{% endblock %}
-
-{% block content %}
-
-<h1>Model documentation</h1>
-
-{% regroup models by app_label as grouped_models %}
-
-<div id="content-main">
-{% for group in grouped_models %}
-<div class="module">
-<h2 id="{{ group.grouper }}">{{ group.grouper|capfirst }}</h2>
-
-<table class="xfull">
-{% for model in group.list %}
-<tr>
-<th><a href="{{ model.app_label }}.{{ model.object_name.lower }}/">{{ model.object_name }}</a></th>
-</tr>
-{% endfor %}
-</table>
-</div>
-{% endfor %}
-
-</div>
-{% endblock %}
-
-{% block sidebar %}
-<div id="content-related" class="sidebar">
-<div class="module">
-<h2>Model groups</h2>
-<ul>
-{% regroup models by app_label as grouped_models %}
-{% for group in grouped_models %}
- <li><a href="#{{ group.grouper }}">{{ group.grouper|capfirst }}</a></li>
-{% endfor %}
-</ul>
-</div>
-</div>
-{% endblock %}