#30796: Chaining select_related mutates original QuerySet.
-------------------------------------+-------------------------------------
     Reporter:  Darren Maki          |                    Owner:  Simon
                                     |  Charette
         Type:  Bug                  |                   Status:  closed
    Component:  Database layer       |                  Version:  2.2
  (models, ORM)                      |
     Severity:  Normal               |               Resolution:  fixed
     Keywords:  select_related       |             Triage Stage:  Accepted
  prefetch_related mutate queryset   |
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by Mariusz Felisiak <felisiak.mariusz@…>):

 In [changeset:"6b7bd079a6fc4e84553262b65074dbe0af456b03" 6b7bd079]:
 {{{
 #!CommitTicketReference repository=""
 revision="6b7bd079a6fc4e84553262b65074dbe0af456b03"
 [3.0.x] Fixed #30796 -- Prevented select_related() from mutating a
 queryset on chaining.

 Thanks Darren Maki for the report.

 Backport of 37f8f293775d0b672da8ae369d9a4e17f1db7851 from master
 }}}

-- 
Ticket URL: <https://code.djangoproject.com/ticket/30796#comment:6>
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/070.f1efc64ce51b5675d841aaff74953fae%40djangoproject.com.

Reply via email to