mirror of https://github.com/django/django.git
[2.0.x] Fixed reference to nonexistent __between lookup.
Backport of e6c21217d3
from master
This commit is contained in:
parent
36b399d6b3
commit
18eaf0997b
|
@ -2959,7 +2959,7 @@ lookups. Takes a :class:`datetime.time` value.
|
||||||
Example::
|
Example::
|
||||||
|
|
||||||
Entry.objects.filter(pub_date__time=datetime.time(14, 30))
|
Entry.objects.filter(pub_date__time=datetime.time(14, 30))
|
||||||
Entry.objects.filter(pub_date__time__between=(datetime.time(8), datetime.time(17)))
|
Entry.objects.filter(pub_date__time__range=(datetime.time(8), datetime.time(17)))
|
||||||
|
|
||||||
(No equivalent SQL code fragment is included for this lookup because
|
(No equivalent SQL code fragment is included for this lookup because
|
||||||
implementation of the relevant query varies among different database engines.)
|
implementation of the relevant query varies among different database engines.)
|
||||||
|
|
Loading…
Reference in New Issue