#33770: Add bulk_update() support for unique fields instead of only primary key
-------------------------------------+-------------------------------------
     Reporter:  Ebram Shehata        |                    Owner:  nobody
         Type:  New feature          |                   Status:  closed
    Component:  Database layer       |                  Version:  4.0
  (models, ORM)                      |
     Severity:  Normal               |               Resolution:  wontfix
     Keywords:  models, orm          |             Triage Stage:
                                     |  Unreviewed
    Has patch:  0                    |      Needs documentation:  1
  Needs tests:  1                    |  Patch needs improvement:  1
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by Ebram Shehata):

 Replying to [comment:1 Carlton Gibson]:
 Hi Carlton, thank you for replying!
 Here's a discussion I started https://groups.google.com/g/django-
 developers/c/SKvpdIN-NE0
 I mentioned the use case in which I needed such feature and demonstrated
 why this could be a useful addition. Please have a look. Thank you.
 > Hi Ebram. Welcome. Thanks!
 >
 > Can I ask you to send this to the DevelopersMailingList to get more eyes
 on it, and see if it's a change worth adding?
 > (I'll close the ticket now, but we'll reopen if there's a consensus to
 add the feature.)
 >
 > When you post, can you add a bit more as to why you think this is
 useful? I can't immediately see why  it matters, given that I have the
 objects in hand 🤔
 >
 > > I also have a question about that function, we can't use it to update
 primary keys.. I'm wondering why ? I want to also add that support to it.
 >
 > The mailing list is a better place to discuss this as well.
 >
 > >...what to do to reserve the implementation for me...
 >
 > If there's agreement to add, you can assign the ticket to yourself.
 (There's not often contention in these areas 🙂)
 >
 > Ref the PR: I appreciate this is just a first proof-of-concept but, all
 changes need test coverage and docs.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/33770#comment:2>
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/010701818dba9cfd-1239d9ec-3228-469b-ab5a-bf4249aabfb8-000000%40eu-central-1.amazonses.com.

Reply via email to