django admin创建的时候的admin.py 中书写的案例
@admin.register(Employe)
class EmployeAdmin(ImportExportActionModelAdmin):
resource_class = ProxyResource
list_display = ('id', 'name', 'gender', 'phone', 'birthday', 'department', 'enable', '...
原创
2019-10-22 17:32:24 ·
387 阅读 ·
0 评论