diff FeedEntry.py @ 29:74481aa49974

add a read flag for feed entries so they can be marked read
author Dirk Olmes <dirk@xanthippe.ping.de>
date Thu, 29 Apr 2010 16:48:16 +0200
parents 0b8398ca6cd0
children 5bb57caa8f66
line wrap: on
line diff
--- a/FeedEntry.py	Thu Apr 29 07:04:42 2010 +0200
+++ b/FeedEntry.py	Thu Apr 29 16:48:16 2010 +0200
@@ -9,6 +9,7 @@
 
     def __init__(self):
         self.create_timestamp = datetime.now()
+        self.read = 0
 
     def __repr__(self):
         return "<FeedEntry (%d) %s>" % (self.pk, self.title)