Branch: refs/heads/master
Home: https://github.com/django/django
Commit: ef9f109013adc6e140c1a71d874aa88e893657b7
https://github.com/django/django/commit/ef9f109013adc6e140c1a71d874aa88e893657b7
Author: Marc Tamlyn <[email protected]>
Date: 2014-07-29 (Tue, 29 Jul 2014)
Changed paths:
M django/contrib/postgres/fields/array.py
A tests/postgres_tests/array_default_migrations/0001_initial.py
A
tests/postgres_tests/array_default_migrations/0002_integerarraymodel_field_2.py
A tests/postgres_tests/array_default_migrations/__init__.py
M tests/postgres_tests/test_array.py
Log Message:
-----------
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.
--
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/53d76b527a1e7_4e0f1479d3848776%40hookshot-fe1-cp1-prd.iad.github.net.mail.
For more options, visit https://groups.google.com/d/optout.