How to make field editable not for all instances in django admin list view. For example if sum exists make some field only for this instance editable.
I tried override ModelForm
and add widget but it doesn't work. Also I tried override has_permission
function but it doesn't work too.
UPDATE
I found same issue but I don't know how to get model instance for checking in get_list_editable