Fixed #28291, #24726 -- Fixed ArrayField with JSONField and RangeFields.

This commit is contained in:
vinay karanam 2018-07-27 15:35:54 +00:00 committed by Tim Graham
parent 69eb70456b
commit 3af695eda2
5 changed files with 23 additions and 0 deletions

View file

@ -67,6 +67,9 @@ class OtherTypesArrayModel(PostgreSQLModel):
uuids = ArrayField(models.UUIDField())
decimals = ArrayField(models.DecimalField(max_digits=5, decimal_places=2))
tags = ArrayField(TagField(), blank=True, null=True)
json = ArrayField(JSONField(default=dict), default=list)
int_ranges = ArrayField(IntegerRangeField(), blank=True, null=True)
bigint_ranges = ArrayField(BigIntegerRangeField(), blank=True, null=True)
class HStoreModel(PostgreSQLModel):