From ee0abac169c2dcc6818d583247903c2a8ef55f7c Mon Sep 17 00:00:00 2001 From: Mariusz Felisiak Date: Wed, 14 Oct 2020 13:09:24 +0200 Subject: Refs #32096 -- Fixed ExclusionConstraint crash with JSONField key transforms in expressions. Regression in 6789ded0a6ab797f0dcdfa6ad5d1cfa46e23abcd. --- tests/postgres_tests/models.py | 1 + 1 file changed, 1 insertion(+) (limited to 'tests/postgres_tests/models.py') diff --git a/tests/postgres_tests/models.py b/tests/postgres_tests/models.py index a5bfc72fe7..56c81064f3 100644 --- a/tests/postgres_tests/models.py +++ b/tests/postgres_tests/models.py @@ -191,3 +191,4 @@ class HotelReservation(PostgreSQLModel): start = models.DateTimeField() end = models.DateTimeField() cancelled = models.BooleanField(default=False) + requirements = models.JSONField(blank=True, null=True) -- cgit v1.3