diff options
author | Dan McGee <dan@archlinux.org> | 2011-06-15 16:12:01 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-06-15 16:12:01 -0500 |
commit | b0bad20756549df5edf726771c8e6869caba6244 (patch) | |
tree | 7a118851c8757978169efafd585f002705da530c /sitemaps.py | |
parent | aaae7e599eeedbc7e1f23d2da1588ad4edcd0f5f (diff) |
Use correct date in news sitemap
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'sitemaps.py')
-rw-r--r-- | sitemaps.py | 2 |
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: |