def formfield_for_dbfield(self, db_field, **kwargs):
if db_field.name == 'title':
kwargs['widget'] = AdminTextInputWidget
return super(FluentCommentsAdmin, self).formfield_for_dbfield(db_field, **kwargs)
# Replace the old admin screen.
评论列表
文章目录