]> git.openstreetmap.org Git - osqa.git/commitdiff
Fix in sitemap.
authorhernani <hernani@0cfe37f9-358a-4d5e-be75-b63607b5c754>
Sat, 8 May 2010 18:05:52 +0000 (18:05 +0000)
committerhernani <hernani@0cfe37f9-358a-4d5e-be75-b63607b5c754>
Sat, 8 May 2010 18:05:52 +0000 (18:05 +0000)
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@179 0cfe37f9-358a-4d5e-be75-b63607b5c754

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