From a2b310b6cd629a6c868faea3449efa4095942f97 Mon Sep 17 00:00:00 2001 From: Matthew Schinckel Date: Tue, 23 Oct 2012 17:23:06 +1030 Subject: [PATCH] Update last instance of 'readed' to unread. --- notifications/models.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/notifications/models.py b/notifications/models.py index d4dedfb..ba6d4a2 100644 --- a/notifications/models.py +++ b/notifications/models.py @@ -118,8 +118,8 @@ class Notification(models.Model): return id2slug(self.id) def mark_as_read(self): - if not self.readed: - self.readed = True + if self.unread: + self.unread = False self.save() EXTRA_DATA = False