mirror of
https://github.com/django/django.git
synced 2025-10-17 13:58:24 +00:00
Fixed #27186 -- Fixed model form default fallback for MultiWidget, FileInput, SplitDateTimeWidget, SelectDateWidget, and SplitArrayWidget.
Thanks Matt Westcott for the review.
This commit is contained in:
parent
92323d54fd
commit
3507d4e773
15 changed files with 178 additions and 13 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue