Ticket #3760: 3760.patch
File 3760.patch, 1.1 KB (added by , 18 years ago) |
---|
-
django/contrib/syndication/feeds.py
93 93 94 94 for item in self.__get_dynamic_attr('items', obj): 95 95 link = add_domain(current_site.domain, self.__get_dynamic_attr('item_link', item)) 96 unique_id = self.__get_dynamic_attr('item_guid', item) 97 if not unique_id: 98 unique_id = link 96 99 enc = None 97 100 enc_url = self.__get_dynamic_attr('item_enclosure_url', item) 98 101 if enc_url: … … 111 114 title = title_tmp.render(Context({'obj': item, 'site': current_site})).decode('utf-8'), 112 115 link = link, 113 116 description = description_tmp.render(Context({'obj': item, 'site': current_site})).decode('utf-8'), 114 unique_id = link,117 unique_id = unique_id, 115 118 enclosure = enc, 116 119 pubdate = self.__get_dynamic_attr('item_pubdate', item), 117 120 author_name = author_name,