Revision bd2ee623 cloudcmsblog/sitemap.py

b/cloudcmsblog/sitemap.py
36 36
from django.contrib.sitemaps import Sitemap
37 37
from cloudcmsblog.models import Entry
38 38

  
39
class BlogSitemap(Sitemap):
40

  
41
    def items(self):
42
        return Entry.objects.filter(is_active=True)
39 43

  

Also available in: Unified diff