diff options
Diffstat (limited to 'app')
-rw-r--r-- | app/src/models.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/models.py b/app/src/models.py index 5f3f2fd..90d58e4 100644 --- a/app/src/models.py +++ b/app/src/models.py @@ -163,7 +163,7 @@ class SrcSitemap(Sitemap): def items(self): return list(chain( - Post.objects.all(status=1), + Post.objects.filter(status=1), Topic.objects.all() )) |