mirror of
https://github.com/jazzband/django-auditlog.git
synced 2026-03-16 22:20:26 +00:00
dict.iteritems was removed from python 3
This commit is contained in:
parent
2e477ab04a
commit
55a66fc73a
1 changed files with 1 additions and 1 deletions
|
|
@ -135,7 +135,7 @@ The :py:class:`AuditlogHistoryField` provides easy access to :py:class:`LogEntry
|
|||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{% for key, value in mymodel.history.latest.changes_dict.iteritems %}
|
||||
{% for key, value in mymodel.history.latest.changes_dict.items %}
|
||||
<tr>
|
||||
<td>{{ key }}</td>
|
||||
<td>{{ value.0|default:"None" }}</td>
|
||||
|
|
|
|||
Loading…
Reference in a new issue