mirror of
https://github.com/django/django.git
synced 2024-12-23 01:25:58 +00:00
Fixed #31350 -- Fixed typo in docs/topics/db/optimization.txt.
This commit is contained in:
parent
9358da704e
commit
370628673b
@ -386,9 +386,9 @@ The following example::
|
||||
...is preferable to::
|
||||
|
||||
entries[0].headline = 'This is not a test'
|
||||
entries.save()
|
||||
entries[0].save()
|
||||
entries[1].headline = 'This is no longer a test'
|
||||
entries.save()
|
||||
entries[1].save()
|
||||
|
||||
Note that there are a number of :meth:`caveats to this method
|
||||
<django.db.models.query.QuerySet.bulk_update>`, so make sure it's appropriate
|
||||
|
Loading…
Reference in New Issue
Block a user