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:02:14 -0400
commitb91868507af08234a30e9a8e7c90b37c561ba315 (patch)
tree332ff103ffcc30c800ffa5df968113b32acd9447 /tests/postgres_tests/models.py
parentf37467ec7a970e3cb9f9f25c370c4072fc994a6e (diff)
Fixed #28161 -- Fixed return type of ArrayField(CITextField()).
Thanks Tim for the review.
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 e1c276890c..fcfd85f8e7 100644
--- a/tests/postgres_tests/models.py
+++ b/tests/postgres_tests/models.py
@@ -106,6 +106,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