Following Intervals result in invalid or wrong field value when set to IntIntervalField:
- Interval:
IntInterval(None) hyphenized form: - which is invalid value for IntInterval.from_string(' -')
- Interval
IntInterval([None, -3]) hyphenized form - -3 which is invalid value for IntInterval.from_string(' - -3')
- Interval:
IntInterval([None, 3]) hyphenized form - 3 which gives IntInterval('[-3, -3]')
Also, value " " results in IntInterval('[,]') although it is an empty value.
Following Intervals result in invalid or wrong field value when set to IntIntervalField:
IntInterval(None)hyphenized form:-which is invalid value forIntInterval.from_string(' -')IntInterval([None, -3])hyphenized form- -3which is invalid value forIntInterval.from_string(' - -3')IntInterval([None, 3])hyphenized form- 3which givesIntInterval('[-3, -3]')Also, value " " results in
IntInterval('[,]')although it is an empty value.