[1.9.x] Fixed #26438 -- Fixed multiple .objects typos in the docs.

Thanks Pablo Oubiña for the report.

Backport of 64aba7a8aba06b8be52a1a099b44e1d3be4bdd26 from master
This commit is contained in:
Simon Charette 2016-03-31 18:27:21 -04:00
parent cac320bfaa
commit a304e7ddff

View File

@ -161,7 +161,7 @@ So using the :ref:`example Weblog models <queryset-model-example>`::
will be quicker than:
>>> entry = Entry.object.get(headline="News Item Title")
>>> entry = Entry.objects.get(headline="News Item Title")
because ``id`` is indexed by the database and is guaranteed to be unique.