1
0
mirror of https://github.com/django/django.git synced 2025-10-24 06:06:09 +00:00

Refs #27808 -- Added test for saving nested ArrayField with nullable base field.

This commit is contained in:
Hasan Ramezani
2019-11-01 12:08:03 +01:00
committed by Mariusz Felisiak
parent a699595fce
commit 8463390527
3 changed files with 14 additions and 0 deletions

View File

@@ -46,6 +46,7 @@ class IntegerArrayModel(PostgreSQLModel):
class NullableIntegerArrayModel(PostgreSQLModel):
field = ArrayField(models.IntegerField(), blank=True, null=True)
field_nested = ArrayField(ArrayField(models.IntegerField(null=True)), null=True)
class CharArrayModel(PostgreSQLModel):