mirror of
https://github.com/davidhalter/django-stubs.git
synced 2026-05-19 23:09:56 +08:00
Add support for RangeBoundary (#252)
This commit is contained in:
committed by
Maksim Kurnikov
parent
f5f33b061d
commit
3b69ec6a72
@@ -9,6 +9,7 @@ from .ranges import (
|
|||||||
DateRangeField as DateRangeField,
|
DateRangeField as DateRangeField,
|
||||||
DateTimeRangeField as DateTimeRangeField,
|
DateTimeRangeField as DateTimeRangeField,
|
||||||
RangeOperators as RangeOperators,
|
RangeOperators as RangeOperators,
|
||||||
|
RangeBoundary as RangeBoundary,
|
||||||
)
|
)
|
||||||
from .hstore import HStoreField as HStoreField
|
from .hstore import HStoreField as HStoreField
|
||||||
from .citext import (
|
from .citext import (
|
||||||
|
|||||||
@@ -41,3 +41,8 @@ class RangeOperators:
|
|||||||
NOT_LT: str
|
NOT_LT: str
|
||||||
NOT_GT: str
|
NOT_GT: str
|
||||||
ADJACENT_TO: str
|
ADJACENT_TO: str
|
||||||
|
|
||||||
|
class RangeBoundary(models.Expression):
|
||||||
|
lower: str
|
||||||
|
upper: str
|
||||||
|
def __init__(self, inclusive_lower: bool = ..., inclusive_upper: bool = ...): ...
|
||||||
|
|||||||
Reference in New Issue
Block a user