[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:
parent
cac320bfaa
commit
a304e7ddff
@ -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.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user