summaryrefslogtreecommitdiff
path: root/tests/postgres_tests/models.py
diff options
context:
space:
mode:
authorSimon Charette <charette.s@gmail.com>2017-05-03 01:25:30 -0400
committerSimon Charette <charette.s@gmail.com>2017-05-04 00:23:49 -0400
commit246166cfe4d5d054fcef452c5af2d0b0e5f37151 (patch)
treed69f5e20e3191fbb881363051e68aa8830093ee6 /tests/postgres_tests/models.py
parentf3217ab59696ea095a42c7fb4d98f21bb000ca8e (diff)
[1.11.x] Fixed #28161 -- Fixed return type of ArrayField(CITextField()).
Thanks Tim for the review. Backport of b91868507af08234a30e9a8e7c90b37c561ba315 from master.
Diffstat (limited to 'tests/postgres_tests/models.py')
-rw-r--r--tests/postgres_tests/models.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/postgres_tests/models.py b/tests/postgres_tests/models.py
index 255db91513..a24d45cdbf 100644
--- a/tests/postgres_tests/models.py
+++ b/tests/postgres_tests/models.py
@@ -105,6 +105,7 @@ class CITestModel(PostgreSQLModel):
name = CICharField(primary_key=True, max_length=255)
email = CIEmailField()
description = CITextField()
+ array_field = ArrayField(CITextField(), null=True)
def __str__(self):
return self.name