From 985ae732b2fbb073a7c98ff857f463449345df27 Mon Sep 17 00:00:00 2001 From: chomik Date: Sat, 15 Feb 2014 16:26:22 +0100 Subject: [PATCH] Fixed #21884 -- Mentioned that exact is the defaut QuerySet lookup type Thanks to cjerdonek for the suggestion. --- docs/ref/models/querysets.txt | 3 +++ 1 file changed, 3 insertions(+) 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 ` 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