Commit 5198b0ab authored by Simon Charette's avatar Simon Charette
Browse files

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

Thanks Pablo Oubiña for the report.

Backport of 64aba7a8 from master
parent 100f28ed
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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.