Fix bugs
This commit is contained in:
parent
329a5293dd
commit
ce77242008
2 changed files with 2 additions and 1 deletions
|
@ -25,6 +25,7 @@ class CommentAdmin(VersionAdmin):
|
|||
)
|
||||
list_display = ['author', 'linked_page', 'time']
|
||||
search_fields = ['author__user__username', 'page', 'body']
|
||||
readonly_fields = ['score']
|
||||
actions = ['hide_comment', 'unhide_comment']
|
||||
list_filter = ['hidden']
|
||||
actions_on_top = True
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue