Here's the PR in github with the proposed fix:
https://github.com/django/django/pull/5104
--
Ticket URL: <https://code.djangoproject.com/ticket/25226>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* Attachment "arrayfield-set-model-on-base-field.diff" added.
The proposed fix
* status: new => closed
* owner: => Tim Graham <timograham@…>
* resolution: => fixed
Comment:
In [changeset:"520802160a6c9e9dbe9f5859ae7e084b9000f850" 5208021]:
{{{
#!CommitTicketReference repository=""
revision="520802160a6c9e9dbe9f5859ae7e084b9000f850"
Fixed #25226 -- Set the model attribute on ArrayField's base_field
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/25226#comment:1>
* needs_better_patch: => 0
* needs_tests: => 0
* needs_docs: => 0
Comment:
In [changeset:"2e55790838a75bf25a11115536dae57880cfccfb" 2e557908]:
{{{
#!CommitTicketReference repository=""
revision="2e55790838a75bf25a11115536dae57880cfccfb"
Refs #25226 -- Cloned ArrayField.base_field on deconstruction.
This prevents the base_field from sharing attributes with the one used
during migrations.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/25226#comment:2>