1
0
mirror of https://github.com/django/django.git synced 2025-10-26 15:16:09 +00:00

[1.11.x] Fixed #28161 -- Fixed return type of ArrayField(CITextField()).

Thanks Tim for the review.

Backport of b91868507a from master.
This commit is contained in:
Simon Charette
2017-05-03 01:25:30 -04:00
parent f3217ab596
commit 246166cfe4
8 changed files with 40 additions and 15 deletions

View File

@@ -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