Range Fields ¶ See also https://docs.djangoproject.com/en/dev/ref/contrib/postgres/fields/#range-fields https://docs.djangoproject.com/fr/3.0/ref/contrib/postgres/fields/ https://github.com/django/django/blob/master/docs/ref/contrib/postgres/fields.txt PostgreSQL Range types Range fields ¶ Range Fields description Introduction Querying Range Fields Containment functions contains contained_by overlap Comparison functions fully_lt fully_gt not_lt not_gt adjacent_to Querying using the bounds startswith endswith isempty lower_inc lower_inf upper_inc upper_inf Defining your own range types RangeField django.contrib.postgres.forms.BaseRangeField RangeBoundary() expressions RangeBoundary RangeBoundary.inclusive_lower RangeBoundary.inclusive_upper Range operators RangeOperators IntegerRangeField IntegerRangeField` IntegerRangeField BigIntegerRangeField BigIntegerRangeField BigIntegerRangeField DecimalRangeField DecimalRangeField DecimalRangeField DateRangeField DateRangeField DateRangeField DateTimeRangeField DateTimeRangeField DateTimeRangeField Tests ¶ Tests RangeField Tests RangeField __init__.py fields.py models.py test_ranges.py test_constraints.py