📜  将搜索字段添加到 django admin - Python 代码示例

📅  最后修改于: 2022-03-11 14:45:56.351000             🧑  作者: Mango

代码示例1
class Admin(admin.ModelAdmin):
    search_fields = ['name', 'last_name',...]