Use correct date in news sitemap

Signed-off-by: Dan McGee <dan@archlinux.org>
This commit is contained in:
Dan McGee 2011-06-15 16:12:01 -05:00
parent aaae7e599e
commit b0bad20756

View File

@ -47,6 +47,6 @@ def items(self):
return News.objects.all()
def lastmod(self, obj):
return obj.postdate
return obj.last_modified
# vim: set ts=4 sw=4 et: