#26979: Using an admin.RelatedOnlyFieldListFilter in admin does not working if a
type of a field is ForeignKey and value to_field is not pk (in my case it
is UUID).
-------------------------------------+-------------------------------------
Reporter: setivolkylany | Owner: nobody
Type: Bug | Status: closed
Component: contrib.admin | Version: 1.9
Severity: Normal | Resolution: needsinfo
Keywords: Admin, ForeignKey, | Triage Stage:
models | Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by timgraham):
After 815f4d206dfea41bdff167283c2cac43a71524ac, the sample project shows
"Cannot find 'comment' on Utility object, 'comment' is an invalid
parameter to prefetch_related()".
--
Ticket URL: <https://code.djangoproject.com/ticket/26979#comment:4>
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/071.491d53a331f85e031080b019d53f9bd8%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.