From bf777442fa35efe7b980ca5880eb606795af7b43 Mon Sep 17 00:00:00 2001 From: Russell Keith-Magee Date: Tue, 29 Jul 2008 13:32:47 +0000 Subject: [PATCH] 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 --- django/contrib/admin/templates/admin_doc/model_detail.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 @@ {{ field.name }} {{ field.data_type }} - {% if field.verbose %}{{ field.verbose }}{% endif %}{% if field.help_text %} - {{ field.help_text }}{% endif %} + {% if field.verbose %}{{ field.verbose }}{% endif %}{% if field.help_text %} - {{ field.help_text|safe }}{% endif %} {% endfor %}