Ticket #5349: 3.diff
File 3.diff, 756 bytes (added by , 17 years ago) |
---|
-
django/contrib/syndication/feeds.py
106 106 enc_url = self.__get_dynamic_attr('item_enclosure_url', item) 107 107 if enc_url: 108 108 enc = feedgenerator.Enclosure( 109 url = smart_unicode(enc_url),109 url = add_domain(current_site.domain, smart_unicode(enc_url)), 110 110 length = smart_unicode(self.__get_dynamic_attr('item_enclosure_length', item)), 111 111 mime_type = smart_unicode(self.__get_dynamic_attr('item_enclosure_mime_type', item)) 112 112 )