X-Git-Url: https://git.openstreetmap.org/osqa.git/blobdiff_plain/d5b584059538a1d758b87a59246a79b53fcf186b..ecd8090a2f7cec3ae97a2f3dea9fea6091862414:/forum/sitemap.py diff --git a/forum/sitemap.py b/forum/sitemap.py index c0c60b5..39dcdc1 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(deleted=None) def lastmod(self, obj): return obj.last_activity_at