1
0
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:
Shrikrishna Singh 2020-03-09 12:24:25 +05:30 committed by GitHub
parent 9358da704e
commit 370628673b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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