comparison Feed.py @ 2:8a624ee48a74

First skeleton for sqlalchemy: define the mapping and create the first feed
author Dirk Olmes <dirk@xanthippe.ping.de>
date Mon, 26 Apr 2010 17:40:55 +0200
parents
children e0199f383442
comparison
equal deleted inserted replaced
1:8b0280b4bb09 2:8a624ee48a74
1
2 class Feed(object):
3 def __init__(self, name, url):
4 self.name = name
5 self.url = url
6
7 def __repr__(self):
8 return "<Feed (%d) %s>" % (self.id, self.name)