diff options
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: |