diff options
| author | Tim Graham <timograham@gmail.com> | 2016-09-06 17:41:54 -0400 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2016-09-22 13:07:23 -0400 |
| commit | 0b59ea3343ef6f035064cfae1608f54c5a3fd147 (patch) | |
| tree | 81a3499027dd1397d6345a518c4b4cba8e5a1cdd /tests/postgres_tests/models.py | |
| parent | 190cd0e49f967d2ec0b6c50a63f0d58d13319611 (diff) | |
[1.10.x] Fixed #27186 -- Fixed model form default fallback for MultiWidget, FileInput, SplitDateTimeWidget, SelectDateWidget, and SplitArrayWidget.
Thanks Matt Westcott for the review.
Backport of 3507d4e773aa9ff2336e7230ba231c4ba6eb568f from master
Diffstat (limited to 'tests/postgres_tests/models.py')
| -rw-r--r-- | tests/postgres_tests/models.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/postgres_tests/models.py b/tests/postgres_tests/models.py index d94eb90d4a..7d2dabcd01 100644 --- a/tests/postgres_tests/models.py +++ b/tests/postgres_tests/models.py @@ -40,7 +40,7 @@ class PostgreSQLModel(models.Model): class IntegerArrayModel(PostgreSQLModel): - field = ArrayField(models.IntegerField()) + field = ArrayField(models.IntegerField(), default=[], blank=True) class NullableIntegerArrayModel(PostgreSQLModel): |
