#26101: RangeField.base_field has no model attribute
-------------------------------------+-------------------------------------
Reporter: BertrandBordage | Owner: aschn
Type: Bug | Status: closed
Component: contrib.postgres | Version: master
Severity: Normal | Resolution: fixed
Keywords: | Triage Stage: Ready for
| checkin
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Markus Holtermann <info@…>):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"b28c60529bfa94702a50990fc2d40faa837fca9c" b28c605]:
{{{
#!CommitTicketReference repository=""
revision="b28c60529bfa94702a50990fc2d40faa837fca9c"
Fixed #26101 -- Allowed introspection of base_field.model in RangeField
Used the same test and fix as in #25867.
This required initializing base_field in RangeField.__init__,
not when setting the attribute.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/26101#comment:4>
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/073.b788f43fe340eaee8a6885a2bce712c6%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.