mirror of
https://github.com/django/django.git
synced 2025-07-30 00:24:26 +00:00
Fixed #27147 -- Allowed specifying bounds of tuple inputs for non-discrete range fields.
This commit is contained in:
parent
52f6927d7f
commit
fc565cb539
8 changed files with 181 additions and 13 deletions
|
@ -135,6 +135,9 @@ class RangesModel(PostgreSQLModel):
|
|||
decimals = DecimalRangeField(blank=True, null=True)
|
||||
timestamps = DateTimeRangeField(blank=True, null=True)
|
||||
timestamps_inner = DateTimeRangeField(blank=True, null=True)
|
||||
timestamps_closed_bounds = DateTimeRangeField(
|
||||
blank=True, null=True, default_bounds='[]',
|
||||
)
|
||||
dates = DateRangeField(blank=True, null=True)
|
||||
dates_inner = DateRangeField(blank=True, null=True)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue