Added date to create notification

This commit is contained in:
Fergal Moran
2015-08-13 20:37:03 +01:00
parent 1b76a08170
commit 05460eb0e4

View File

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