Ticket #6533: 6533_correct_dir.patch
File 6533_correct_dir.patch, 1.3 KB (added by , 17 years ago) |
---|
-
django/contrib/syndication/feeds.py
124 124 author_link = self.__get_dynamic_attr('item_author_link', item) 125 125 else: 126 126 author_email = author_link = None 127 128 title_rc = RequestContext(self.request, {'obj': item, 'site': current_site}) 129 title_rc.autoescape = False 130 131 description_rc = RequestContext(self.request, {'obj': item, 'site': current_site}) 132 description_rc.autoescape = False 133 127 134 feed.add_item( 128 title = title_tmp.render( RequestContext(self.request, {'obj': item, 'site': current_site})),135 title = title_tmp.render(title_rc), 129 136 link = link, 130 description = description_tmp.render( RequestContext(self.request, {'obj': item, 'site': current_site})),137 description = description_tmp.render(description_rc), 131 138 unique_id = self.__get_dynamic_attr('item_guid', item, link), 132 139 enclosure = enc, 133 140 pubdate = self.__get_dynamic_attr('item_pubdate', item),