Commit 074e65b0 authored by Michael Kelly's avatar Michael Kelly
Browse files

Fixed typo in queryset docs under update method.

parent 7515f657
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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):