class SomeModelAdmin(admin.ModelAdmin):
list_display = ['position']
admin.site.register(SomeModel, SomeModelAdmin)
and I get error message:
django.core.management.base.SystemCheckError: SystemCheckError: System check identified some issues:
ERRORS:
<class 'project.some_models.admin.ModelAdmin'>: (admin.E108) The value of 'list_display[0]' refers to 'position',
which is not a callable, an attribute of 'ModelAdmin', or an attribute or method on 'some_models.SomeModel'.
i try registering positionField like this
and I get error message:
I handled the error with this:
but it's really confused because it not shown on the documentation it would be nice if the library could handle that error itself