diff --git a/judge/admin/comments.py b/judge/admin/comments.py index 22c52816ee..d01b561bfa 100644 --- a/judge/admin/comments.py +++ b/judge/admin/comments.py @@ -19,13 +19,14 @@ class Meta: class CommentAdmin(VersionAdmin): fieldsets = ( - (None, {'fields': ('author', 'page', 'parent', 'score', 'hidden')}), + (None, {'fields': ('author', 'page', 'parent', 'time', 'score', 'hidden')}), ('Content', {'fields': ('body',)}), ) list_display = ['author', 'linked_page', 'time'] search_fields = ['author__user__username', 'page', 'body'] actions = ['hide_comment', 'unhide_comment'] list_filter = ['hidden'] + readonly_fields = ['time'] actions_on_top = True actions_on_bottom = True form = CommentForm