diff --git a/article/models.py b/article/models.py index 04440dec..2c59a1f1 100644 --- a/article/models.py +++ b/article/models.py @@ -133,8 +133,8 @@ def data(self): issue=self.issue.data, journal=self.journal.data, pid_v3=self.pid_v3, - created=created.isoformat(), - updated=updated.isoformat(), + created=self.created.isoformat(), + updated=self.updated.isoformat(), ) @classmethod