#36924: FieldError when using selected_related on ForeignObject together with
defer
-------------------------------------+-------------------------------------
Reporter: Markus Holtermann | Owner: Vishy
| Algo
Type: Bug | Status: assigned
Component: Database layer | Version: 5.2
(models, ORM) |
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 Jacob Walls):
* stage: Unreviewed => Accepted
* type: Uncategorized => Bug
Comment:
Thanks. Seems to be an issue with assuming that fields need to be in the
select mask for select_relat'ing them to be useful. (Tacking on a
`.values("model2")` sails through.)
--
Ticket URL: <https://code.djangoproject.com/ticket/36924#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 view this discussion visit
https://groups.google.com/d/msgid/django-updates/0107019c58f388c4-26b8983f-1c3a-41cd-8b5a-8ea5eb9a71ff-000000%40eu-central-1.amazonses.com.