summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorchomik <to.chomik@gmail.com>2014-02-15 16:26:22 +0100
committerchomik <to.chomik@gmail.com>2014-02-15 17:17:58 +0100
commit985ae732b2fbb073a7c98ff857f463449345df27 (patch)
tree83a5de4f8b8cd6b119e5a4d152af392e0b7e0158
parent79558c787ebfd0fe723acb061a375b19a27f18cd (diff)
Fixed #21884 -- Mentioned that exact is the defaut QuerySet lookup type
Thanks to cjerdonek for the suggestion.
-rw-r--r--docs/ref/models/querysets.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/ref/models/querysets.txt b/docs/ref/models/querysets.txt
index 94f9c6b36b..05f7d36aa6 100644
--- a/docs/ref/models/querysets.txt
+++ b/docs/ref/models/querysets.txt
@@ -1997,6 +1997,9 @@ For an introduction, see :ref:`models and database queries documentation
Django's inbuilt lookups are listed below. It is also possible to write
:doc:`custom lookups </ref/models/custom-lookups>` for model fields.
+As a convenience when no lookup type is provided (like in
+``Entry.objects.get(id=14)``) the lookup type is assumed to be :lookup:`exact`.
+
.. fieldlookup:: exact
exact