ModelAdmin: Error message for readonly fields's check does not include the field name Description
ModelAdmin: Error message for readonly fields's check does not include the field name Description: a task in Lego-RL-SWE-Bench-Verified (Harbor dataset). When subclassing a ModelAdmin, the current error message for the readonly fields would indicate the index of the value at fault but it will not…
The task
When subclassing a ModelAdmin, the current error message for the readonly_fields would indicate the index of the value at fault but it will not include the field's name (from the test suite): The value of 'readonly_fields[0]' is not a callable, an attribute of 'CityInline', or an attribute of 'admin_checks.City'.…
Part of Lego-X/Lego-RL-SWE-Bench-Verified.