Skip to content

Commit

Permalink
Fixed #7937 -- Corrected typo in layout of db docs. Thanks to John Sc…
Browse files Browse the repository at this point in the history
…ott for the report.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@8072 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information
freakboy3742 committed Jul 25, 2008
1 parent ecdd071 commit 3898af2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/db-api.txt
Expand Up @@ -2218,7 +2218,7 @@ statement. It is a bulk operation for direct updates. It doesn't run any
signals (which are a consequence of calling ``save()``). If you want to save signals (which are a consequence of calling ``save()``). If you want to save
every item in a ``QuerySet`` and make sure that the ``save()`` method is every item in a ``QuerySet`` and make sure that the ``save()`` method is
called on each instance, you don't need any special function to handle that. called on each instance, you don't need any special function to handle that.
Just loop over them and call ``save()``: Just loop over them and call ``save()``::


for item in my_queryset: for item in my_queryset:
item.save() item.save()
Expand Down

0 comments on commit 3898af2

Please sign in to comment.