mirror of
https://github.com/jazzband/django-admin2.git
synced 2026-03-17 06:30:25 +00:00
Show verbose column name in list view (fixes #236)
This commit is contained in:
parent
3e31974b39
commit
ce5566be82
1 changed files with 1 additions and 1 deletions
|
|
@ -71,7 +71,7 @@
|
|||
{% if forloop.first and attr == "__str__" %}
|
||||
<th>{{ model_name|capfirst }}</th>
|
||||
{% else %}
|
||||
<th>{{ attr }}</th>
|
||||
<th>{{ model|model_attr_verbose_name:attr|capfirst }}</th>
|
||||
{% endif%}
|
||||
{% endfor %}
|
||||
</thead>
|
||||
|
|
|
|||
Loading…
Reference in a new issue