mirror of
https://github.com/django/django.git
synced 2025-11-25 05:04:26 +00:00
Fixed #30621 -- Fixed crash of __contains lookup for Date/DateTimeRangeField when the right hand side is the same type.
Thanks Tilman Koschnick for the report and initial patch.
Thanks Carlton Gibson the review.
Regression in 6b048b364c.
This commit is contained in:
parent
ee6e93ec87
commit
7991111af1
6 changed files with 76 additions and 3 deletions
|
|
@ -211,7 +211,9 @@ class Migration(migrations.Migration):
|
|||
('bigints', BigIntegerRangeField(null=True, blank=True)),
|
||||
('decimals', DecimalRangeField(null=True, blank=True)),
|
||||
('timestamps', DateTimeRangeField(null=True, blank=True)),
|
||||
('timestamps_inner', DateTimeRangeField(null=True, blank=True)),
|
||||
('dates', DateRangeField(null=True, blank=True)),
|
||||
('dates_inner', DateRangeField(null=True, blank=True)),
|
||||
],
|
||||
options={
|
||||
'required_db_vendor': 'postgresql'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue