X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/a9eef437702d5df7a2f97010e6798c689371808c..01eed1521a67afc04a8112b44ca4cd1c4a32cf00:/forum/sitemap.py?ds=sidebyside diff --git a/forum/sitemap.py b/forum/sitemap.py index c0c60b5..3606cab 100644 --- a/forum/sitemap.py +++ b/forum/sitemap.py @@ -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_state(deleted=False) def lastmod(self, obj): return obj.last_activity_at