From: ayleph Date: Mon, 7 Dec 2015 16:38:21 +0000 (-0500) Subject: Fix issue 5371 broken collection atom feeds X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=47f7ff8d22b232ab24639b0ff24583c58eaf47a7;p=mediagoblin.git Fix issue 5371 broken collection atom feeds Signed-off-by: Jessica Tallon --- diff --git a/mediagoblin/user_pages/views.py b/mediagoblin/user_pages/views.py index ba94ec16..88e077d4 100644 --- a/mediagoblin/user_pages/views.py +++ b/mediagoblin/user_pages/views.py @@ -623,10 +623,10 @@ def collection_atom_feed(request): id=obj.url_for_self(request.urlgen, qualified=True), content_type='html', author={ - 'name': obj.get_actor().username, + 'name': obj.get_actor.username, 'uri': request.urlgen( 'mediagoblin.user_pages.user_home', - qualified=True, user=obj.get_actor().username)}, + qualified=True, user=obj.get_actor.username)}, updated=item.get('added'), links=[{ 'href': obj.url_for_self(