#32682: Deleting objects after searching related many to many field crashes the
admin page
-------------------------------------+-------------------------------------
     Reporter:  Zain Patel           |                    Owner:  Mariusz
                                     |  Felisiak
         Type:  Bug                  |                   Status:  closed
    Component:  contrib.admin        |                  Version:  3.2
     Severity:  Release blocker      |               Resolution:  fixed
     Keywords:  regression, admin,   |             Triage Stage:  Accepted
  delete                             |
    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:"fbea64b8ce6a82dd34b1f78cb884306455106185" fbea64b]:
 {{{
 #!CommitTicketReference repository=""
 revision="fbea64b8ce6a82dd34b1f78cb884306455106185"
 [3.2.x] Refs #32682 -- Renamed use_distinct variable to
 may_have_duplicates.

 QuerySet.distinct() is not the only way to avoid duplicate, it's also
 not preferred.

 Backport of cd74aad90e09865ae6cd8ca0377ef0a5008d14e9 from main
 }}}

-- 
Ticket URL: <https://code.djangoproject.com/ticket/32682#comment:7>
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/063.87d3bc731d880ee900d9cb5369541963%40djangoproject.com.

Reply via email to