From a4f502869d0e71359ce16f4424fdfad9116fdb6b Mon Sep 17 00:00:00 2001 From: Owocki Date: Mon, 9 Jul 2018 11:00:16 -0600 Subject: [PATCH] created_on does not exist on activity model --- app/dashboard/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/dashboard/models.py b/app/dashboard/models.py index 2343b25a9e5..6a67c4ea39a 100644 --- a/app/dashboard/models.py +++ b/app/dashboard/models.py @@ -1078,7 +1078,7 @@ class Activity(models.Model): def __str__(self): """Define the string representation of an interested profile.""" return f"{self.profile.handle} type: {self.activity_type}" \ - f"created: {naturalday(self.created_on)}" + f"created: {naturalday(self.created)}" class Profile(SuperModel):