diff --git a/djangocms_blog/models.py b/djangocms_blog/models.py index f33461e7..320d433a 100644 --- a/djangocms_blog/models.py +++ b/djangocms_blog/models.py @@ -663,7 +663,7 @@ def post_content_queryset(self, request=None): else: post_contents = PostContent.objects if self.app_config: - post_contents = post_contents.filter(post__namespace=self.app_config.namespace) + post_contents = post_contents.filter(post__app_confige=self.app_config) if self.current_site: post_contents = post_contents.on_site(get_current_site(request)) post_contents = post_contents.filter(language=language)