DateRangeField

DateRangeField

class DateRangeField ( ** options )

Stores a range of dates. Based on a DateField . Represented by a daterange in the database and a DateRange in Python.

Regardless of the bounds specified when saving the data, PostgreSQL always returns a range in a canonical form that includes the lower bound and excludes the upper bound; that is [) .