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