summaryrefslogtreecommitdiff
path: root/tests/postgres_tests/models.py
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2016-09-06 17:41:54 -0400
committerTim Graham <timograham@gmail.com>2016-09-22 12:20:58 -0400
commit3507d4e773aa9ff2336e7230ba231c4ba6eb568f (patch)
tree09467b4724131e91b0afe1d2f133e5e56ba068cf /tests/postgres_tests/models.py
parent92323d54fd6df077dc523c423c7bb2dd8dbde621 (diff)
Fixed #27186 -- Fixed model form default fallback for MultiWidget, FileInput, SplitDateTimeWidget, SelectDateWidget, and SplitArrayWidget.
Thanks Matt Westcott for the review.
Diffstat (limited to 'tests/postgres_tests/models.py')
-rw-r--r--tests/postgres_tests/models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/postgres_tests/models.py b/tests/postgres_tests/models.py
index 9687a874c0..2a0d69b21a 100644
--- a/tests/postgres_tests/models.py
+++ b/tests/postgres_tests/models.py
@@ -41,7 +41,7 @@ class PostgreSQLModel(models.Model):
class IntegerArrayModel(PostgreSQLModel):
- field = ArrayField(models.IntegerField())
+ field = ArrayField(models.IntegerField(), default=[], blank=True)
class NullableIntegerArrayModel(PostgreSQLModel):