Merge pull request #425 from Osmose/queryset_doc_typo
Fixed typo in queryset docs under update method.
This commit is contained in:
commit
ab696e3a21
|
@ -1624,7 +1624,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
|
: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
|
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
|
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::
|
:meth:`~django.db.models.Model.save()`, like this::
|
||||||
|
|
||||||
for e in Entry.objects.filter(pub_date__year=2010):
|
for e in Entry.objects.filter(pub_date__year=2010):
|
||||||
|
|
Loading…
Reference in New Issue