summaryrefslogtreecommitdiff
path: root/docs/ref
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2016-12-27 09:58:42 -0500
committerTim Graham <timograham@gmail.com>2016-12-27 10:00:03 -0500
commitf38f2032c577c484a0480f1d7aad39d495c63e33 (patch)
treed1f1d6b28c1b17d2746f4aa43fd69524c951c310 /docs/ref
parent25e8222615f75e55673dd7a54aa50b77762b6f8c (diff)
Used a nontemporal example in QuerySet.bulk_create() in docs.
Diffstat (limited to 'docs/ref')
-rw-r--r--docs/ref/models/querysets.txt5
1 files changed, 2 insertions, 3 deletions
diff --git a/docs/ref/models/querysets.txt b/docs/ref/models/querysets.txt
index 7e2dc7abca..268fa42d70 100644
--- a/docs/ref/models/querysets.txt
+++ b/docs/ref/models/querysets.txt
@@ -1826,9 +1826,8 @@ efficient manner (generally only 1 query, no matter how many objects there
are)::
>>> Entry.objects.bulk_create([
- ... Entry(headline="Django 1.0 Released"),
- ... Entry(headline="Django 1.1 Announced"),
- ... Entry(headline="Breaking: Django is awesome")
+ ... Entry(headline='This is a test'),
+ ... Entry(headline='This is only a test'),
... ])
This has a number of caveats though: