From 05460eb0e46c89c93d288618aca8ea765cb64d8a Mon Sep 17 00:00:00 2001 From: Fergal Moran Date: Thu, 13 Aug 2015 20:37:03 +0100 Subject: [PATCH] Added date to create notification --- spa/models/activity.py | 1 + 1 file changed, 1 insertion(+) diff --git a/spa/models/activity.py b/spa/models/activity.py index c82e607..0c983d5 100755 --- a/spa/models/activity.py +++ b/spa/models/activity.py @@ -70,6 +70,7 @@ class Activity(BaseModel): notification.type = self.get_object_type() notification.target = self.get_object_slug() notification.target_desc = self.get_object_name() + notification.date = self.date if accept: notification.accepted_date = datetime.now()