#36398: select_for_update(of=...) ignores "self" when using values_list() when 
not
selecting a column from the model
-------------------------------------+-------------------------------------
     Reporter:  OutOfFocus4          |                    Owner:  (none)
         Type:  Uncategorized        |                   Status:  closed
    Component:  Database layer       |                  Version:  5.2
  (models, ORM)                      |
     Severity:  Normal               |               Resolution:  needsinfo
     Keywords:                       |             Triage Stage:
                                     |  Unreviewed
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by Sarah Boyce):

 * resolution:   => needsinfo
 * status:  new => closed

Comment:

 Thank you for the ticket
 I needed to add `available_apps = ["django.contrib.auth"]` to the test
 case and both tests passed for me on SQLite. Based off the ticket
 description, I think one of them should have raised a database error? Can
 you clarify how to replicate the issue?
-- 
Ticket URL: <https://code.djangoproject.com/ticket/36398#comment:1>
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/01070196d47a481e-4961cbd0-170d-40c1-b0b8-252be2b532d2-000000%40eu-central-1.amazonses.com.

Reply via email to