Ticket #2505: admin_doc_model_detail.diff

File admin_doc_model_detail.diff, 686 bytes (added by dummy@…, 18 years ago)

enable the verbose field of models in admin_doc

  • django/contrib/admin/templates/admin_doc/model_detail.html

     
    3535<tr>
    3636    <td>{{ field.name }}</td>
    3737    <td>{{ field.data_type }}</td>
    38     <td>{% if field.verbose %}{{ field.verbose|escape }}{% endif %}{% if field.help_text %} - {{ field.help_text|escape }}{% endif %}</td>
     38    <td>{% if field.verbose %}{{ field.verbose }}{% endif %}{% if field.help_text %} - {{ field.help_text|escape }}{% endif %}</td>
    3939</tr>
    4040{% endfor %}
    4141</tbody>
Back to Top