From ecd8090a2f7cec3ae97a2f3dea9fea6091862414 Mon Sep 17 00:00:00 2001 From: hernani Date: Sat, 8 May 2010 18:05:52 +0000 Subject: [PATCH] Fix in sitemap. git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@179 0cfe37f9-358a-4d5e-be75-b63607b5c754 --- forum/sitemap.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5