#19423: using formfield_overrides to set CharField size causes all admin fields
to
use last max_length in model definition
-------------------------------------+-------------------------------------
Reporter: joebuyer@… | Owner: nobody
Type: Bug | Status: new
Component: contrib.admin | Version: master
Severity: Normal | Resolution:
Keywords: max_length | Triage Stage: Ready for
formfield_overrides | checkin
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by charettes):
* stage: Accepted => Ready for checkin
Comment:
All tests pass on Python 2.7.3/SQlite and the added testcase failed if the
`django/contrib/admin/options.py` patch is not applied.
Looks good to me, marking as RFC.
--
Ticket URL: <https://code.djangoproject.com/ticket/19423#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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit https://groups.google.com/groups/opt_out.