1
0
mirror of https://github.com/django/django.git synced 2025-03-31 11:37:06 +00:00

Fixed typo in bulk_create() documentation.

This commit is contained in:
Sergey Fedoseev 2018-02-08 14:33:45 +05:00 committed by Carlton Gibson
parent 8c709d79cb
commit 01bfa9219b

View File

@ -1988,7 +1988,7 @@ This has a number of caveats though:
from itertools import islice
batch_size = 100
objs = (Entry(headling'Test %s' % i) for i in range(1000))
objs = (Entry(headline='Test %s' % i) for i in range(1000))
while True:
batch = list(islice(objs, batch_size))
if not batch: