#29786: Add option to lock rows with select_for_update() immediately
-------------------------------------+-------------------------------------
     Reporter:  ovalseven8           |                    Owner:  nobody
         Type:  New feature          |                   Status:  closed
    Component:  Database layer       |                  Version:  2.1
  (models, ORM)                      |
     Severity:  Normal               |               Resolution:  wontfix
     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 Simon Charette):

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


Comment:

 I agree with Tom,

 Adding a kwarg to `select_for_update()` or another method to break the
 lazy nature of a queryset seems unnecessary when `get()` works just fine
 the use case reported here.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/29786#comment:4>
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 post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/068.98da941cd44f54ffb7ec83b9d498fc39%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to