#22163: select_for_update should take nowait directly
----------------------------------------------+--------------------
     Reporter:  kenny.macdermid@…             |      Owner:  nobody
         Type:  Bug                           |     Status:  new
    Component:  Database layer (models, ORM)  |    Version:  master
     Severity:  Normal                        |   Keywords:
 Triage Stage:  Unreviewed                    |  Has patch:  0
Easy pickings:  1                             |      UI/UX:  0
----------------------------------------------+--------------------
 select_for_update() accepts any number of arguments which it then
 completely ignores. This can lead you situations where you may type:
 Model.objects.select_for_update(id=1) and expect to be changing one object
 when in reality you're changing all the objects.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/22163>
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 django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/068.65e082739db2d367ffd463d31ccd266d%40djangoproject.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to