【发布时间】:2016-10-01 16:55:21
【问题描述】:
我正在尝试为一个非常复杂的 Web 应用程序设置本地开发环境。没有设置环境的适当文档,所以这两天我自己解决了错误。解决所有错误后,我收到下面提到的系统检查错误,我不明白它们的含义?有人可以帮忙,这些错误是什么意思以及如何解决它们。
django.core.management.base.CommandError: System check identified some issues:
ERRORS:
<class 'credits.admin.creditshistoryAdmin'>: (admin.E035) The value of 'readonly_fields[29]' is not a callable, an attribute of 'creditshistoryAdmin', or an attribute of 'credits.CreditsHistory'.
<class 'credits.admin.creditshistoryAdmin'>: (admin.E035) The value of 'readonly_fields[30]' is not a callable, an attribute of 'creditshistoryAdmin', or an attribute of 'credits.CreditsHistory'.
【问题讨论】:
-
显示你尝试过的管理代码
标签: python django django-models django-1.7