Permalink
Browse files

Fix a couple references to "user"

  • Loading branch information...
diox committed Mar 26, 2010
1 parent 9bb89dd commit f79d11f1217ec4ca2fb087f30a1436345c2f2088
Showing with 2 additions and 2 deletions.
  1. +2 −2 notification/feeds.py
View
@@ -40,7 +40,7 @@ def item_links(self, notification):
return [{"href" : self.item_id(notification)}]
def item_authors(self, notification):
- return [{"name" : notification.user.username}]
+ return [{"name" : notification.recipient.username}]
class NoticeUserFeed(BaseNoticeFeed):
@@ -58,7 +58,7 @@ def feed_title(self, user):
return _('Notices Feed')
def feed_updated(self, user):
- qs = Notice.objects.filter(user=user)
+ qs = Notice.objects.filter(recipient=user)
# We return an arbitrary date if there are no results, because there
# must be a feed_updated field as per the Atom specifications, however
# there is no real data to go by, and an arbitrary date can be static.

0 comments on commit f79d11f

Please sign in to comment.