Ticket #8020: sitemap-crash.diff
File sitemap-crash.diff, 693 bytes (added by , 16 years ago) |
---|
-
django/contrib/sitemaps/__init__.py
54 54 return obj.get_absolute_url() 55 55 56 56 def _get_paginator(self): 57 if not hasattr(self, " paginator"):58 self. paginator = paginator.Paginator(self.items(), self.limit)59 return self. paginator57 if not hasattr(self, "_paginator"): 58 self._paginator = paginator.Paginator(self.items(), self.limit) 59 return self._paginator 60 60 paginator = property(_get_paginator) 61 61 62 62 def get_urls(self, page=1):