diff --git a/django/utils/feedgenerator.py b/django/utils/feedgenerator.py index 696b55d493..fe0f9ce263 100644 --- a/django/utils/feedgenerator.py +++ b/django/utils/feedgenerator.py @@ -209,7 +209,7 @@ class Atom1Feed(SyndicationFeed): for item in self.items: handler.startElement(u"entry", {}) handler.addQuickElement(u"title", item['title']) - handler.addQuickElement(u"link", item['link']) + handler.addQuickElement(u"link", u"", {u"href": item['link']}) if item['pubdate'] is not None: handler.addQuickElement(u"updated", rfc2822_date(item['pubdate']).decode('ascii'))