Commits

tehfink  committed 1b3da49

typo in name of 'lastmod' sitemap method

  • Participants
  • Parent commits acdff0e
  • Branches cms-2.0.2

Comments (0)

Files changed (1)

File cmsplugin_news/sitemaps.py

 from django.contrib.sitemaps import Sitemap
 from cmsplugin_news.models import News
 
+
+
 class CMSPluginNewsSitemap(Sitemap):
     changefreq = "weekly"
     priority = 0.5
     def items(self):
         return News.published.all()
 
-    def lastemod(self, news):
+    def lastmod(self, news):
         return news.updated or news.pub_date or news.created