]> git.openstreetmap.org Git - osqa.git/blobdiff - forum/sitemap.py
Fix in sitemap.
[osqa.git] / forum / sitemap.py
index c0c60b5eaef33294cabb1e6954b76f0aed398dd2..39dcdc1aa15e5e335ffa73bb59eae8ead364a769 100644 (file)
@@ -5,7 +5,7 @@ class QuestionsSitemap(Sitemap):
     changefreq = 'daily'
     priority = 0.5
     def items(self):
-        return Question.objects.exclude(deleted=True)
+        return Question.objects.filter(deleted=None)
 
     def lastmod(self, obj):
         return obj.last_activity_at