admin.modelAdmin
Django のデフォルトクラスの変更に関しては、Django のオートコンプリート サポートはないようです。これが何を意味するかを以下に示します。
fieldsets = [
('Story', {
'fields': ('title', 'url', 'points'),
}),
('Moderator', {
# Un-Comment the line below to make set collapsible
'classes': (),
'fields': ('moderator',),
}),
('Change History', {
# Un-Comment the line below to make set collapsible
'classes': ('collapse',),
'fields': ('created_at', 'updated_at'),
}),
]
問題は、次のような設定をしようとすると、何も表示されないことです。'classes': ('...',),
オートコンプリートまたは現在不足している機能を追加する方法はありますか?