summaryrefslogtreecommitdiff
path: root/pgweb/docs/admin.py
diff options
context:
space:
mode:
Diffstat (limited to 'pgweb/docs/admin.py')
-rw-r--r--pgweb/docs/admin.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/pgweb/docs/admin.py b/pgweb/docs/admin.py
index 821f9261..d75971b1 100644
--- a/pgweb/docs/admin.py
+++ b/pgweb/docs/admin.py
@@ -11,6 +11,7 @@ approve_doccomment.short_description = 'Approve comment'
class DocCommentAdmin(admin.ModelAdmin):
list_display = ('file', 'version', 'posted_at', 'approved', )
+ list_filter = ('approved', )
actions = [approve_doccomment, ]
admin.site.register(DocComment, DocCommentAdmin)