File tree 1 file changed +8
-5
lines changed
1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -101,11 +101,13 @@ class ArticleAdmin(MetaDataModelAdmin):
101
101
'is_anonymous' ,
102
102
'is_content_sexual' ,
103
103
'is_content_social' ,
104
+ 'report_count' ,
105
+ 'hidden_at' ,
106
+ )
107
+ raw_id_fields = (
104
108
'created_by' ,
105
109
'parent_topic' ,
106
110
'parent_board' ,
107
- 'report_count' ,
108
- 'hidden_at' ,
109
111
)
110
112
search_fields = (
111
113
'title' ,
@@ -134,12 +136,13 @@ class CommentAdmin(MetaDataModelAdmin):
134
136
'positive_vote_count' ,
135
137
'negative_vote_count' ,
136
138
'is_anonymous' ,
137
- 'created_by' ,
138
- 'parent_article' ,
139
- 'parent_comment' ,
140
139
'report_count' ,
141
140
'hidden_at' ,
142
141
)
142
+ raw_id_fields = ('created_by' ,
143
+ 'parent_article' ,
144
+ 'parent_comment' ,
145
+ )
143
146
search_fields = (
144
147
'content' ,
145
148
'hidden_at' ,
You can’t perform that action at this time.
0 commit comments