From 55a66fc73afd9d01d714aa96d6adf2ba63fee4bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Blas=20Isaias=20Fern=C3=A1ndez?= Date: Sun, 11 Apr 2021 15:32:36 -0400 Subject: [PATCH] dict.iteritems was removed from python 3 --- docs/source/usage.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/usage.rst b/docs/source/usage.rst index 8aa15f0..b40f296 100644 --- a/docs/source/usage.rst +++ b/docs/source/usage.rst @@ -135,7 +135,7 @@ The :py:class:`AuditlogHistoryField` provides easy access to :py:class:`LogEntry - {% for key, value in mymodel.history.latest.changes_dict.iteritems %} + {% for key, value in mymodel.history.latest.changes_dict.items %} {{ key }} {{ value.0|default:"None" }}