7 | | Saving a modelform with a model's rangefield 2 inputs left empty triggers an DB integrity error. I think the culprit lies with `empty_values` not containing `['', '']` as a possible empty value. (see the code around https://github.com/django/django/blob/1.11.15/django/forms/fields.py#L1026) |
| 7 | Saving a modelform with a model's rangefield 2 inputs left empty triggers an DB integrity error. I think the culprit lies with `empty_values` not containing `['', '']` as a possible empty value. (see the code around https://github.com/django/django/blob/1.11.15/django/forms/fields.py#L1026). |
| 8 | |
| 9 | '''`self.compress([])` should return the result of `self.range_type(None, None)` instead of just `None`.''' |