Fixed typo in queryset docs under update method.

This commit is contained in:
Michael Kelly 2012-10-05 11:32:28 -04:00
parent 7515f6576b
commit 074e65b04a
1 changed files with 1 additions and 1 deletions

View File

@ -1581,7 +1581,7 @@ does not call any ``save()`` methods on your models, nor does it emit the
:attr:`~django.db.models.signals.post_save` signals (which are a consequence of
calling :meth:`Model.save() <~django.db.models.Model.save()>`). If you want to
update a bunch of records for a model that has a custom
:meth:`~django.db.models.Model.save()`` method, loop over them and call
:meth:`~django.db.models.Model.save()` method, loop over them and call
:meth:`~django.db.models.Model.save()`, like this::
for e in Entry.objects.filter(pub_date__year=2010):