#28344: Add from_queryset parameter to Model.refresh_from_db()
-------------------------------------+-------------------------------------
     Reporter:  Patryk Zawadzki      |                    Owner:  Aivars
                                     |  Kalvāns
         Type:  New feature          |                   Status:  closed
    Component:  Database layer       |                  Version:  dev
  (models, ORM)                      |
     Severity:  Normal               |               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:"f92641a636a8cb75fc9851396cef4345510a4b52" f92641a6]:
 {{{
 #!CommitTicketReference repository=""
 revision="f92641a636a8cb75fc9851396cef4345510a4b52"
 Fixed #28344 -- Allowed customizing queryset in
 Model.refresh_from_db()/arefresh_from_db().

 The from_queryset parameter can be used to:
 - use a custom Manager
 - lock the row until the end of transaction
 - select additional related objects
 }}}

-- 
Ticket URL: <https://code.djangoproject.com/ticket/28344#comment:43>
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/0107018d0cc51a73-65f33c1e-0f7e-4b1d-8089-e669a84bf2cb-000000%40eu-central-1.amazonses.com.

Reply via email to