#25226: ArrayField doesn't set the model attribute on the base_field instance
----------------------------------+----------------------------------------
Reporter: delinhabit | Owner:
Type: Bug | Status: new
Component: contrib.postgres | Version: master
Severity: Normal | Keywords: arrayfield check-framework
Triage Stage: Unreviewed | Has patch: 1
Easy pickings: 0 | UI/UX: 0
----------------------------------+----------------------------------------
I found this issue while working on #25172. The ArrayField uses the check
framework to perform backend specific checks on the `base_field` instance,
but doesn't set the `model` attribute on it.
Since the backend specific field tests will use the model to route to the
appropriate db connection, we need to have the model set on the
`base_field` instance too.
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.
--
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/053.6f93ac98241cc72e1ef4173dd37d32f6%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.