diff options
| author | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2020-10-14 13:09:24 +0200 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2020-10-14 22:10:09 +0200 |
| commit | 536213278c77884e9f985c18a8f9e1158f0d680a (patch) | |
| tree | fa7991fd0970addfad18c2df3008caec05d5b174 /tests/postgres_tests/models.py | |
| parent | ae6b24093c7ccc730850d11bbe93e1481ebd2912 (diff) | |
[3.1.x] Refs #32096 -- Fixed ExclusionConstraint crash with JSONField key transforms in expressions.
Regression in 6789ded0a6ab797f0dcdfa6ad5d1cfa46e23abcd.
Backport of ee0abac169c2dcc6818d583247903c2a8ef55f7c from master.
Diffstat (limited to 'tests/postgres_tests/models.py')
| -rw-r--r-- | tests/postgres_tests/models.py | 1 |
1 files changed, 1 insertions, 0 deletions
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) |
