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_detail.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_detail.html')
| -rw-r--r-- | django/contrib/admin/templates/admin_doc/model_detail.html | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/django/contrib/admin/templates/admin_doc/model_detail.html b/django/contrib/admin/templates/admin_doc/model_detail.html new file mode 100644 index 0000000000..d3621b7434 --- /dev/null +++ b/django/contrib/admin/templates/admin_doc/model_detail.html @@ -0,0 +1,46 @@ +{% extends "admin/base_site" %} + +{% block extrahead %} + +{{ block.super }} + +<style type="text/css"> + +.module table { width:100%; } + +</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> + +<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>{{ field.verbose|default:"" }}{% if field.help_text %} - {{ field.help_text }}{% endif %}</td> +</tr> +{% endfor %} +</tbody> +</table> +</div> + +<p class="small"><a href="../">‹ Back to Models Documentation</p> +</div> +{% endblock %} |
