@admin.register(XXXXX)
class XXXXXAdmin(admin.ModelAdmin):
list_display = ['id', 'name']
filter_horizontal = ('reagent_suit', 'outcome')
@admin.register(XXXXX)
class XXXXXAdmin(admin.ModelAdmin):
list_display = ['id', 'name']
filter_horizontal = ('reagent_suit', 'outcome')
本文标题:2019-10-15 Django admin manytoma
本文链接:https://www.haomeiwen.com/subject/qmjsmctx.html
网友评论