Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

fixed atom feed

  • Loading branch information...
commit 412adca7e26377f7978444142303d00523c14500 1 parent 6d7cdd9
@slafs slafs authored jezdez committed
Showing with 2 additions and 2 deletions.
  1. +2 −2 notification/
4 notification/
@@ -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.
Please sign in to comment.
Something went wrong with that request. Please try again.