{{{
SystemCheckError: System check identified some issues:
ERRORS:
<class 'someapp.admin.SomeModel'>: (admin.E122) The value of
'list_editable[0]' refers to 'something', which is not an attribute of
'someapp.SomeModel'.
}}}
Error message suggests that field {{{something}}} does not exist in model,
but in fact it DOES exist in model and DOES NOT exist in admin's
{{{list_display}}}, so the explanation is not true and leads to confusion.
--
Ticket URL: <https://code.djangoproject.com/ticket/25267>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* needs_better_patch: => 0
* stage: Unreviewed => Accepted
* easy: 0 => 1
* needs_tests: => 0
* needs_docs: => 0
--
Ticket URL: <https://code.djangoproject.com/ticket/25267#comment:1>
Comment (by zauddelig):
patch proposal:
https://github.com/django/django/pull/5135
--
Ticket URL: <https://code.djangoproject.com/ticket/25267#comment:2>
* needs_better_patch: 0 => 1
* has_patch: 0 => 1
Comment:
Don't forget to check "Has patch" so the ticket appears in the review
queue. Please uncheck "Patch needs improvement" when you update the pull
request. Thanks!
--
Ticket URL: <https://code.djangoproject.com/ticket/25267#comment:3>
* needs_better_patch: 1 => 0
* stage: Accepted => Ready for checkin
--
Ticket URL: <https://code.djangoproject.com/ticket/25267#comment:4>
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"ece78684d9e09c477c4a0f10236c0aec45bac726" ece7868]:
{{{
#!CommitTicketReference repository=""
revision="ece78684d9e09c477c4a0f10236c0aec45bac726"
Fixed #25267 -- Corrected message for admin.E122 system check.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/25267#comment:5>
Comment (by Tim Graham <timograham@…>):
In [changeset:"c6523833790468e88b1967df23f2cdd65114c314" c6523833]:
{{{
#!CommitTicketReference repository=""
revision="c6523833790468e88b1967df23f2cdd65114c314"
[1.8.x] Fixed #25267 -- Corrected message for admin.E122 system check.
Backport of ece78684d9e09c477c4a0f10236c0aec45bac726 from master
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/25267#comment:6>