dict.iteritems was removed from python 3

This commit is contained in:
Blas Isaias Fernández 2021-04-11 15:32:36 -04:00 committed by Hasan Ramezani
parent 2e477ab04a
commit 55a66fc73a

View file

@ -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>