diff options
| author | Simon Charette <charette.s@gmail.com> | 2016-03-31 18:27:21 -0400 |
|---|---|---|
| committer | Simon Charette <charette.s@gmail.com> | 2016-03-31 18:30:58 -0400 |
| commit | a304e7ddff23b14b8e6546a92eb5250d9cf6eaff (patch) | |
| tree | 0787d89291e03dc504cf01600411ccfc116eda66 | |
| parent | cac320bfaa1320795f4e630d315b02bc4c252231 (diff) | |
[1.9.x] Fixed #26438 -- Fixed multiple .objects typos in the docs.
Thanks Pablo OubiƱa for the report.
Backport of 64aba7a8aba06b8be52a1a099b44e1d3be4bdd26 from master
| -rw-r--r-- | docs/topics/db/optimization.txt | 2 |
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. |
