diff options
| author | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2019-07-10 10:33:36 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-07-10 10:33:36 +0200 |
| commit | 7991111af12056ec9a856f35935d273526338c1f (patch) | |
| tree | 4067b5171a44f6d559c6d44cda34338c75b73ecc /docs | |
| parent | ee6e93ec8727d0f5ed33190a3c354867669ed72f (diff) | |
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 6b048b364ca1e0e56a0d3815bf2be33ac9998355.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/releases/2.2.4.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/releases/2.2.4.txt b/docs/releases/2.2.4.txt index a1a849680d..0ad92f4ab1 100644 --- a/docs/releases/2.2.4.txt +++ b/docs/releases/2.2.4.txt @@ -12,3 +12,9 @@ Bugfixes * Fixed a regression in Django 2.2 when ordering a ``QuerySet.union()``, ``intersection()``, or ``difference()`` by a field type present more than once results in the wrong ordering being used (:ticket:`30628`). + +* Fixed a migration crash on PostgreSQL when adding a check constraint + with a ``contains`` lookup on + :class:`~django.contrib.postgres.fields.DateRangeField` or + :class:`~django.contrib.postgres.fields.DateTimeRangeField`, if the right + hand side of an expression is the same type (:ticket:`30621`). |
