summaryrefslogtreecommitdiffstats
path: root/sitemaps.py
diff options
context:
space:
mode:
Diffstat (limited to 'sitemaps.py')
-rw-r--r--sitemaps.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sitemaps.py b/sitemaps.py
index 97ab43c..b53c990 100644
--- a/sitemaps.py
+++ b/sitemaps.py
@@ -66,7 +66,7 @@ class NewsSitemap(Sitemap):
self.one_week_ago = now - timedelta(days=7)
def items(self):
- return News.objects.all().order_by()
+ return News.objects.all().defer('content', 'guid', 'title').order_by()
def lastmod(self, obj):
return obj.last_modified