fix translation

This commit is contained in:
bkfox
2017-05-08 23:45:09 +02:00
parent 2c2f2c34fc
commit b3c0547ce6
4 changed files with 9 additions and 4 deletions

View File

@ -60,9 +60,9 @@ class CommentAdmin(ModelAdmin):
menu_label = _('Comments')
menu_icon = 'pick'
menu_order = 300
list_display = ('published', 'author', 'date', 'content')
list_display = ('published', 'publication', 'author', 'date', 'content')
list_filter = ('date', 'published')
search_fields = ('name', 'content', 'date')
search_fields = ('author', 'content', 'publication__title')
modeladmin_register(CommentAdmin)