Ticket #14202: patch.diff
File patch.diff, 866 bytes (added by , 14 years ago) |
---|
-
django/utils/feedgenerator.py
219 219 handler.addQuickElement(u"title", self.feed['title']) 220 220 handler.addQuickElement(u"link", self.feed['link']) 221 221 handler.addQuickElement(u"description", self.feed['description']) 222 handler.addQuickElement(u"atom:link", None, {u"rel": u"self", u"href": self.feed['feed_url']}) 222 if self.feed['feed_url'] is not None: 223 handler.addQuickElement(u"atom:link", None, {u"rel": u"self", 224 u"href": self.feed['feed_url']}) 223 225 if self.feed['language'] is not None: 224 226 handler.addQuickElement(u"language", self.feed['language']) 225 227 for cat in self.feed['categories']: