#22962: Default of [] for postgres array field results in migration application
failure.
-------------------------------------+-------------------------------------
Reporter: schinckel | Owner: Marc
Type: Bug | Tamlyn <marc.tamlyn@…>
Component: contrib.postgres | Status: closed
Severity: Normal | Version: master
Keywords: | Resolution: fixed
Has patch: 1 | Triage Stage: Accepted
Needs tests: 0 | Needs documentation: 0
Easy pickings: 0 | Patch needs improvement: 0
| UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Marc Tamlyn <marc.tamlyn@…>):
* status: new => closed
* owner: => Marc Tamlyn <marc.tamlyn@…>
* resolution: => fixed
Comment:
In [changeset:"ef9f109013adc6e140c1a71d874aa88e893657b7"]:
{{{
#!CommitTicketReference repository=""
revision="ef9f109013adc6e140c1a71d874aa88e893657b7"
Fixed #22962 -- Default values for ArrayField with migrations.
Fields normally try to force the default value to a string. As
translatable strings are not valid default values for ArrayField, we can
remove this behaviour which was causing issues with some migrations.
Thanks to @schinckel for the report.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/22962#comment:6>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/067.5f4db7306820392d87813ea90164f9ee%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.