python - Getting system check errors -
i trying set local development environment complex web application. there no proper documentation setting environment, it's been 2 days resolving errors myself. after resolving errors, getting system check errors mentioned below , don't understand mean? can help, these errors mean , how resolve them.
django.core.management.base.commanderror: system check identified issues: errors: <class 'credits.admin.creditshistoryadmin'>: (admin.e035) value of 'readonly_fields[29]' not callable, attribute of 'creditshistoryadmin', or attribute of 'credits.creditshistory'. <class 'credits.admin.creditshistoryadmin'>: (admin.e035) value of 'readonly_fields[30]' not callable, attribute of 'creditshistoryadmin', or attribute of 'credits.creditshistory'.
the class credits.admin.creditshistoryadmin
has attribute readonly_fields
.
it's list of fields shown read-only in admin (see docs on modeladmin.readonly_fields
).
items of list should either callables, or attributes of admin (creditshistoryadmin
) or model (credits.creditshistory
). items @ 30th , 31st position (so readonly_fields[29] , [30]) else.
for further diagnosis, have post code of credits.admin.creditshistoryadmin
, credits.models.creditshistory
.