mirror of
https://github.com/django/django.git
synced 2025-10-27 07:36:08 +00:00
[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 3507d4e773 from master
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user