comments.admin module

comments.admin.comment_opening(comment)[source]
comments.admin.comment_is_vetted(comment)[source]

Check if comment is vetted.

comments.admin.comment_is_anonymous(comment)[source]

Check if comment is vetted.

class comments.admin.CommentAdmin(model, admin_site)[source]

Bases: guardian.admin.GuardedModelAdmin

list_display = (<function comment_opening>, 'author', 'date_submitted', <function comment_is_vetted>, <function comment_is_anonymous>)
date_hierarchy = 'date_submitted'
list_filter = ('status',)
autocomplete_fields = ['vetted_by', 'author']
property media