Ticket #15829: sitemaps-item.diff
File sitemaps-item.diff, 653 bytes (added by , 14 years ago) |
---|
-
django/contrib/sitemaps/__init__.py
diff -r bbbacd49af3e django/contrib/sitemaps/__init__.py
a b 79 79 'location': loc, 80 80 'lastmod': self.__get('lastmod', item, None), 81 81 'changefreq': self.__get('changefreq', item, None), 82 'priority': str(priority is not None and priority or '') 82 'priority': str(priority is not None and priority or ''), 83 'item': item, 83 84 } 84 85 urls.append(url_info) 85 86 return urls