Django

Code

Changeset 8137

Show
Ignore:
Timestamp:
07/29/08 08:32:47 (4 months ago)
Author:
russellm
Message:

Fixed #7695 -- Modified template to trust help_text on a model field. Thanks to Ben Spaulding for the report.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/trunk/django/contrib/admin/templates/admin_doc/model_detail.html

    r7294 r8137  
    3535    <td>{{ field.name }}</td> 
    3636    <td>{{ field.data_type }}</td> 
    37     <td>{% if field.verbose %}{{ field.verbose }}{% endif %}{% if field.help_text %} - {{ field.help_text }}{% endif %}</td> 
     37    <td>{% if field.verbose %}{{ field.verbose }}{% endif %}{% if field.help_text %} - {{ field.help_text|safe }}{% endif %}</td> 
    3838</tr> 
    3939{% endfor %}