diff options
| author | Jacob Kaplan-Moss <jacob@jacobian.org> | 2008-08-09 15:53:50 +0000 |
|---|---|---|
| committer | Jacob Kaplan-Moss <jacob@jacobian.org> | 2008-08-09 15:53:50 +0000 |
| commit | 88baf06c3d7334e39273c22bffa2f80db4d71d58 (patch) | |
| tree | cb83d3e4c47fdac71c1f64fa098be90c58b95028 /django/contrib/admin/templates/admin_doc/model_detail.html | |
| parent | 69d8ff31ac89eea5aba926f335538a81092e470b (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_detail.html')
| -rw-r--r-- | django/contrib/admin/templates/admin_doc/model_detail.html | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/django/contrib/admin/templates/admin_doc/model_detail.html b/django/contrib/admin/templates/admin_doc/model_detail.html deleted file mode 100644 index 414397f23a..0000000000 --- a/django/contrib/admin/templates/admin_doc/model_detail.html +++ /dev/null @@ -1,46 +0,0 @@ -{% extends "admin/base_site.html" %} -{% load i18n %} -{% block extrahead %} -{{ block.super }} -<style type="text/css"> -.module table { width:100%; } -.module table p { padding: 0; margin: 0; } -</style> -{% endblock %} - -{% block breadcrumbs %}<div class="breadcrumbs"><a href="../../../">Home</a> › <a href="../../">Documentation</a> › <a href="../">Models</a> › {{ name }}</div>{% endblock %} - -{% block title %}Model: {{ name }}{% endblock %} - -{% block content %} -<div id="content-main"> -<h1>{{ summary }}</h1> - -{% if description %} - <p>{% filter linebreaksbr %}{% trans description %}{% endfilter %}</p> -{% endif %} - -<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> - <td>{% if field.verbose %}{{ field.verbose }}{% endif %}{% if field.help_text %} - {{ field.help_text|safe }}{% endif %}</td> -</tr> -{% endfor %} -</tbody> -</table> -</div> - -<p class="small"><a href="../">‹ Back to Models Documentation</a></p> -</div> -{% endblock %} |
