summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sitemaps.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sitemaps.py b/sitemaps.py
index 1a3669ad..37387f15 100644
--- a/sitemaps.py
+++ b/sitemaps.py
@@ -47,6 +47,6 @@ class NewsSitemap(Sitemap):
return News.objects.all()
def lastmod(self, obj):
- return obj.postdate
+ return obj.last_modified
# vim: set ts=4 sw=4 et: