Re: [Django] #33799: abulk_create() doesn't accept upsert parameters (update_conflicts, update_fields, unique_fields)

2022-06-23 Thread Django
#33799: abulk_create() doesn't accept upsert parameters (update_conflicts,
update_fields, unique_fields)
-+-
 Reporter:  Dhruva Patil |Owner:  Dhruva
 |  Patil
 Type:  Bug  |   Status:  closed
Component:  Database layer   |  Version:  4.1
  (models, ORM)  |
 Severity:  Release blocker  |   Resolution:  fixed
 Keywords:  async orm| Triage Stage:  Ready for
 |  checkin
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-

Comment (by Mariusz Felisiak ):

 In [changeset:"531c96de34d746a58b9b7320378296730312c016" 531c96de]:
 {{{
 #!CommitTicketReference repository=""
 revision="531c96de34d746a58b9b7320378296730312c016"
 [4.1.x] Fixed #33799, Refs #31685 -- Added parameters for updating
 conflicts to QuerySeta.abulk_create().

 Backport of c627226d05dd52aef59447dcfb29cec2c2b11b8a from main
 }}}

-- 
Ticket URL: 
Django 
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/010701819010c439-99f31aa3-8816-4cad-9e33-775dd62e09ae-00%40eu-central-1.amazonses.com.


Re: [Django] #33799: abulk_create() doesn't accept upsert parameters (update_conflicts, update_fields, unique_fields)

2022-06-23 Thread Django
#33799: abulk_create() doesn't accept upsert parameters (update_conflicts,
update_fields, unique_fields)
-+-
 Reporter:  Dhruva Patil |Owner:  Dhruva
 |  Patil
 Type:  Bug  |   Status:  closed
Component:  Database layer   |  Version:  4.1
  (models, ORM)  |
 Severity:  Release blocker  |   Resolution:  fixed
 Keywords:  async orm| 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 ):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"c627226d05dd52aef59447dcfb29cec2c2b11b8a" c627226d]:
 {{{
 #!CommitTicketReference repository=""
 revision="c627226d05dd52aef59447dcfb29cec2c2b11b8a"
 Fixed #33799, Refs #31685 -- Added parameters for updating conflicts to
 QuerySeta.abulk_create().
 }}}

-- 
Ticket URL: 
Django 
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/0107018190105674-81b78779-5837-437e-8139-fe9f9ce25f04-00%40eu-central-1.amazonses.com.


Re: [Django] #33799: abulk_create() doesn't accept upsert parameters (update_conflicts, update_fields, unique_fields)

2022-06-23 Thread Django
#33799: abulk_create() doesn't accept upsert parameters (update_conflicts,
update_fields, unique_fields)
-+-
 Reporter:  Dhruva Patil |Owner:  Dhruva
 |  Patil
 Type:  Bug  |   Status:  assigned
Component:  Database layer   |  Version:  4.1
  (models, ORM)  |
 Severity:  Release blocker  |   Resolution:
 Keywords:  async orm| Triage Stage:  Ready for
 |  checkin
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-

Comment (by Dhruva Patil):

 Replying to [comment:2 Mariusz Felisiak]:
 > Thanks for the report.

 No worries!

 I've raised a PR for the same: https://github.com/django/django/pull/15788

 Let me know if any changes are required.

-- 
Ticket URL: 
Django 
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/010701818f7e483f-ee76b277-47f3-44a8-befa-98496822bc7b-00%40eu-central-1.amazonses.com.


Re: [Django] #33799: abulk_create() doesn't accept upsert parameters (update_conflicts, update_fields, unique_fields)

2022-06-23 Thread Django
#33799: abulk_create() doesn't accept upsert parameters (update_conflicts,
update_fields, unique_fields)
-+-
 Reporter:  Dhruva Patil |Owner:  Dhruva
 |  Patil
 Type:  Bug  |   Status:  assigned
Component:  Database layer   |  Version:  4.1
  (models, ORM)  |
 Severity:  Release blocker  |   Resolution:
 Keywords:  async orm| 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):

 * stage:  Accepted => Ready for checkin


-- 
Ticket URL: 
Django 
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/010701818f7d6041-0b02bb07-7a6c-460c-be74-a24737944653-00%40eu-central-1.amazonses.com.


Re: [Django] #33799: abulk_create() doesn't accept upsert parameters (update_conflicts, update_fields, unique_fields) (was: abulk_create doesn't accept upsert parameters (update_conflicts, update_fiel

2022-06-23 Thread Django
#33799: abulk_create() doesn't accept upsert parameters (update_conflicts,
update_fields, unique_fields)
-+-
 Reporter:  Dhruva Patil |Owner:  Dhruva
 |  Patil
 Type:  Bug  |   Status:  assigned
Component:  Database layer   |  Version:  4.1
  (models, ORM)  |
 Severity:  Release blocker  |   Resolution:
 Keywords:  async orm| Triage Stage:  Accepted
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-
Changes (by Mariusz Felisiak):

 * type:  Uncategorized => Bug
 * severity:  Normal => Release blocker
 * stage:  Unreviewed => Accepted


Comment:

 Thanks for the report.

-- 
Ticket URL: 
Django 
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/010701818f662cc2-22c86409-0916-48de-a2cc-295df79e77bc-00%40eu-central-1.amazonses.com.


Re: [Django] #33799: abulk_create doesn't accept upsert parameters (update_conflicts, update_fields, unique_fields)

2022-06-23 Thread Django
#33799: abulk_create doesn't accept upsert parameters (update_conflicts,
update_fields, unique_fields)
-+-
 Reporter:  Dhruva Patil |Owner:  Dhruva
 |  Patil
 Type:  Uncategorized|   Status:  assigned
Component:  Database layer   |  Version:  4.1
  (models, ORM)  |
 Severity:  Normal   |   Resolution:
 Keywords:  async orm| Triage Stage:
 |  Unreviewed
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-
Changes (by Dhruva Patil):

 * has_patch:  0 => 1


-- 
Ticket URL: 
Django 
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/010701818f63b0c4-01e3b1df-769d-44ff-8187-25da7f220539-00%40eu-central-1.amazonses.com.


[Django] #33799: abulk_create doesn't accept upsert parameters (update_conflicts, update_fields, unique_fields)

2022-06-23 Thread Django
#33799: abulk_create doesn't accept upsert parameters (update_conflicts,
update_fields, unique_fields)
-+-
   Reporter:  Dhruva |  Owner:  Dhruva Patil
  Patil  |
   Type: | Status:  assigned
  Uncategorized  |
  Component:  Database   |Version:  4.1
  layer (models, ORM)|
   Severity:  Normal |   Keywords:  async orm
   Triage Stage: |  Has patch:  0
  Unreviewed |
Needs documentation:  0  |Needs tests:  0
Patch needs improvement:  0  |  Easy pickings:  0
  UI/UX:  0  |
-+-
 abulk_create doesn't accept newly added upsert parameters even though the
 (preview) docs say it does.

 {{{
 File /usr/local/lib/python3.8/site-
 packages/django/db/models/manager.py:85, in
 
BaseManager._get_queryset_methods..create_method..manager_method(self,
 *args, **kwargs)
  84 def manager_method(self, *args, **kwargs):
 ---> 85 return getattr(self.get_queryset(), name)(*args, **kwargs)

 TypeError: abulk_create() got an unexpected keyword argument
 'update_conflicts'
 }}}

-- 
Ticket URL: 
Django 
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/010701818f55ec39-02d30687-5b17-4180-b657-1124e6560be9-00%40eu-central-1.amazonses.com.