diff options
| author | Russell Keith-Magee <russell@keith-magee.com> | 2008-07-29 13:32:47 +0000 |
|---|---|---|
| committer | Russell Keith-Magee <russell@keith-magee.com> | 2008-07-29 13:32:47 +0000 |
| commit | bf777442fa35efe7b980ca5880eb606795af7b43 (patch) | |
| tree | c63b11e93a3c541bae7d3700331de9764e285941 /django/contrib/admin/templates/admin_doc/model_detail.html | |
| parent | 174641b9b35022b80ea1d1a917a9d95b37a551d7 (diff) | |
Fixed #7695 -- Modified template to trust help_text on a model field. Thanks to Ben Spaulding for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8137 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 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/django/contrib/admin/templates/admin_doc/model_detail.html b/django/contrib/admin/templates/admin_doc/model_detail.html index 81bf87db15..414397f23a 100644 --- a/django/contrib/admin/templates/admin_doc/model_detail.html +++ b/django/contrib/admin/templates/admin_doc/model_detail.html @@ -34,7 +34,7 @@ <tr> <td>{{ field.name }}</td> <td>{{ field.data_type }}</td> - <td>{% if field.verbose %}{{ field.verbose }}{% endif %}{% if field.help_text %} - {{ field.help_text }}{% endif %}</td> + <td>{% if field.verbose %}{{ field.verbose }}{% endif %}{% if field.help_text %} - {{ field.help_text|safe }}{% endif %}</td> </tr> {% endfor %} </tbody> |
