#34458: QuerySet.defer('user_id') raises AttributeError: 'ForeignKey' object
has no
attribute 'field'
-------------------------------------+-------------------------------------
Reporter: Andrew Cordery | Owner: Simon
| Charette
Type: Bug | Status: closed
Component: Database layer | Version: 4.2
(models, ORM) |
Severity: Release blocker | Resolution: fixed
Keywords: | Triage Stage: Ready for
| checkin
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Mariusz Felisiak <felisiak.mariusz@…>):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"87c63bd8df0eb0109df333df1264c6a96707d6a4" 87c63bd]:
{{{
#!CommitTicketReference repository=""
revision="87c63bd8df0eb0109df333df1264c6a96707d6a4"
Fixed #34458 -- Fixed QuerySet.defer() crash on attribute names.
Thanks Andrew Cordery for the report.
Regression in b3db6c8dcb5145f7d45eff517bcd96460475c879.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/34458#comment:6>
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 on the web visit
https://groups.google.com/d/msgid/django-updates/010701874f97b482-bd0a78e7-c4f2-44da-8e76-49cb59bf3b84-000000%40eu-central-1.amazonses.com.