From 382af9b14113aaa8821da404933c12053bb394fd Mon Sep 17 00:00:00 2001 From: Adam Johnson Date: Mon, 20 Jan 2020 10:32:31 +0000 Subject: Fixed #31003 -- Doc'd and tested return value of QuerySet.bulk_create(). --- docs/ref/models/querysets.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'docs/ref') diff --git a/docs/ref/models/querysets.txt b/docs/ref/models/querysets.txt index ba20c7516a..38192d4fa6 100644 --- a/docs/ref/models/querysets.txt +++ b/docs/ref/models/querysets.txt @@ -2100,6 +2100,8 @@ that fail constraints such as duplicate unique values. Enabling this parameter disables setting the primary key on each model instance (if the database normally supports it). +Returns ``objs`` as cast to a list, in the same order as provided. + ``bulk_update()`` ~~~~~~~~~~~~~~~~~ -- cgit v1.3