diff --git a/docs/ref/models/querysets.txt b/docs/ref/models/querysets.txt index c3395e9c9a..be07f0821d 100644 --- a/docs/ref/models/querysets.txt +++ b/docs/ref/models/querysets.txt @@ -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: