<class 'blog.admin.CategoryAdmin'>: (admin.E108) The value of 'list_display[0]' refers to 'mame', which is not a callable, an attribute of 'CategoryAdmin', or an attribute or method on 'blog.Category'

系统反馈此类错误是因为行列映射时无法对应:

引起无法对应的原因有:

定义是缺少某列,定义时缩进导致,映射关系时缺少某列,(通俗讲列名对应不上)。

这种错误多是python中的 因为其中对于空格的要求是强制性的  甚至有时不能和TAB混用 所以会发生列名无法对应的情况

原文地址:https://www.cnblogs.com/yongqi-wang/p/wwwwww.html