diff options
| author | Chris Wesseling <chris@maykinmedia.nl> | 2025-11-20 15:01:14 +0100 |
|---|---|---|
| committer | Jacob Walls <jacobtylerwalls@gmail.com> | 2025-11-20 17:24:10 -0500 |
| commit | ac9bdcabe10fb7ac0c7e9ebcd879f5e34bee776f (patch) | |
| tree | 517bd72a81b32a1e0664a0b9a22cdd2c56a67356 /tests/postgres_tests/models.py | |
| parent | 001c2f546b4053acb04f16d6b704f7b4fbca1c45 (diff) | |
[5.2.x] Fixed #36748 -- Filtered non-standard placeholders from UNNEST queries.
Backport of 5834643f43a767fe19f2c6d10217b204e7584ec8 from main.
Diffstat (limited to 'tests/postgres_tests/models.py')
| -rw-r--r-- | tests/postgres_tests/models.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/postgres_tests/models.py b/tests/postgres_tests/models.py index 1563f6a35d..7c606a83a9 100644 --- a/tests/postgres_tests/models.py +++ b/tests/postgres_tests/models.py @@ -9,6 +9,7 @@ from .fields import ( EnumField, HStoreField, IntegerRangeField, + OffByOneField, SearchVectorField, ) @@ -207,3 +208,7 @@ class HotelReservation(PostgreSQLModel): end = models.DateTimeField() cancelled = models.BooleanField(default=False) requirements = models.JSONField(blank=True, null=True) + + +class OffByOneModel(PostgreSQLModel): + one_off = OffByOneField() |
