mirror of
https://github.com/django/django.git
synced 2024-12-25 02:26:12 +00:00
Fixed #21884 -- Mentioned that exact is the defaut QuerySet lookup type
Thanks to cjerdonek for the suggestion.
This commit is contained in:
parent
79558c787e
commit
985ae732b2
@ -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
|
Django's inbuilt lookups are listed below. It is also possible to write
|
||||||
:doc:`custom lookups </ref/models/custom-lookups>` for model fields.
|
: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
|
.. fieldlookup:: exact
|
||||||
|
|
||||||
exact
|
exact
|
||||||
|
Loading…
Reference in New Issue
Block a user