#27897: Searching for foreign key's pk in the admin crashes with
FieldDoesNotExist
-------------------------------+------------------------------------
Reporter: rm_ | Owner: nobody
Type: Bug | Status: new
Component: contrib.admin | Version: 1.10
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+------------------------------------
Changes (by Tim Graham):
* stage: Unreviewed => Accepted
Comment:
Looks like a regression in 1.9 caused by
d084176cc1273d5faf6f88eedb4c490e961f3a68. I'm hesitant to mark as a
release blocker since it when unreported for so long and I think it can be
worked around by using `__id` instead of `__pk` in `search_fields`, but
when a patch is provided we could consider a backport.
--
Ticket URL: <https://code.djangoproject.com/ticket/27897#comment:2>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/061.744eb7aa58794d986662f652f16fc1d1%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.