summaryrefslogtreecommitdiff
path: root/docs/topics/db
diff options
context:
space:
mode:
authorSimon Charette <charette.s@gmail.com>2016-03-31 18:27:21 -0400
committerSimon Charette <charette.s@gmail.com>2016-03-31 18:27:47 -0400
commit64aba7a8aba06b8be52a1a099b44e1d3be4bdd26 (patch)
treecf9b96fb44b38bbb22b501dec3ae3cf13608a526 /docs/topics/db
parent8928823b135b9ce2c7b18f4da0d2602b113a247e (diff)
Fixed #26438 -- Fixed multiple .objects typos in the docs.
Thanks Pablo OubiƱa for the report.
Diffstat (limited to 'docs/topics/db')
-rw-r--r--docs/topics/db/optimization.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/topics/db/optimization.txt b/docs/topics/db/optimization.txt
index 788e447050..446ec87256 100644
--- a/docs/topics/db/optimization.txt
+++ b/docs/topics/db/optimization.txt
@@ -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.