summaryrefslogtreecommitdiff
path: root/sitemaps.py
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-06-15 16:12:01 -0500
committerDan McGee <dan@archlinux.org>2011-06-15 16:12:01 -0500
commitb0bad20756549df5edf726771c8e6869caba6244 (patch)
tree7a118851c8757978169efafd585f002705da530c /sitemaps.py
parentaaae7e599eeedbc7e1f23d2da1588ad4edcd0f5f (diff)
Use correct date in news sitemap
Signed-off-by: Dan McGee <dan@archlinux.org>
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 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: