#36398: select_for_update(of=...) ignores "self" when using values_list() when
not
selecting a column from the model
-------------------------------------+-------------------------------------
Reporter: OutOfFocus4 | Owner:
| JakeWalson
Type: Bug | Status: assigned
Component: Database layer | Version: dev
(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
-------------------------------------+-------------------------------------
Comment (by OutOfFocus4):
Replying to [comment:3 Sarah Boyce]:
> Thank you, replicated
> That this is a m2m field is important I believe
I have replicated the error with reverse foreign keys and nullable forward
foreign keys. I have attached the tests. The `models.py` is identical to
the one currently used for Django tests, except the `died` field of the
`Person` model has `null=True`.
--
Ticket URL: <https://code.djangoproject.com/ticket/36398#comment:5>
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/01070196f8219f17-a58747e2-7f06-4884-9699-bb5cead6d08d-000000%40eu-central-1.amazonses.com.