Use correct date in news sitemap
Signed-off-by: Dan McGee <dan@archlinux.org>
This commit is contained in:
parent
aaae7e599e
commit
b0bad20756
@ -47,6 +47,6 @@ def items(self):
|
|||||||
return News.objects.all()
|
return News.objects.all()
|
||||||
|
|
||||||
def lastmod(self, obj):
|
def lastmod(self, obj):
|
||||||
return obj.postdate
|
return obj.last_modified
|
||||||
|
|
||||||
# vim: set ts=4 sw=4 et:
|
# vim: set ts=4 sw=4 et:
|
||||||
|
Loading…
Reference in New Issue
Block a user