#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.<locals>.create_method.<locals>.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: <https://code.djangoproject.com/ticket/33799>
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/010701818f55ec39-02d30687-5b17-4180-b657-1124e6560be9-000000%40eu-central-1.amazonses.com.