Permalink
Browse files

add uris for rolls

  • Loading branch information...
1 parent 39b1c6d commit 11274c53b6b504e168d153739f3d1bc1417b3288 Aaron Swartz committed Jul 31, 2009
Showing with 3 additions and 0 deletions.
  1. +3 −0 schema.py
View
@@ -343,6 +343,9 @@ class Roll(sql.Table):
result = sql.String()
bill = sql.Reference(Bill)
+ @property
+ def _uri_(self):
+ return 'http://watchdog.net/r/us/%s#it' % self.id
#@@@@@ DON'T REPEAT YOURSELF
@property
def votes_by_party(self):

0 comments on commit 11274c5

Please sign in to comment.