diff --git a/lacommunaute/forum_conversation/admin.py b/lacommunaute/forum_conversation/admin.py index f8dcac39..46730026 100644 --- a/lacommunaute/forum_conversation/admin.py +++ b/lacommunaute/forum_conversation/admin.py @@ -11,6 +11,8 @@ def get_actions(self, request): # the website inconsistent return [] + list_filter = BasePostAdmin.list_filter + ("approved",) + class PostInline(admin.StackedInline): model = Post @@ -30,7 +32,7 @@ class TopicAdmin(BaseTopicAdmin): inlines = [ PostInline, ] - list_filter = BaseTopicAdmin.list_filter + ("type",) + list_filter = BaseTopicAdmin.list_filter + ("type", "approved") class CertifiedPostAdmin(admin.ModelAdmin):