view Feed.py @ 6:87317ba41816

add a creation date for the feed entry
author Dirk Olmes <dirk@xanthippe.ping.de>
date Tue, 27 Apr 2010 02:30:50 +0200
parents e0199f383442
children 215c34f61e95
line wrap: on
line source


class Feed(object):
    def __init__(self, name, url):
        self.name = name
        self.url = url

    def __repr__(self):
        return "<Feed (%d) %s>" % (self.pk, self.name)