#31610: Make it easier to override the RelatedFieldWidgetWrapper in admin.
-------------------------------------+-------------------------------------
Reporter: rm_ | Owner: nobody
Type: | Status: closed
Cleanup/optimization |
Component: contrib.admin | Version: master
Severity: Normal | Resolution: wontfix
Keywords: | Triage Stage:
| Unreviewed
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by rm_):
Sorr for the late response but I didn't get any notification. The plan is
to use a custom widget, the patches here are 1) a way to use a custom
widget without overriding the full BaseModelAdmin.formfield_for_dbfield
becasue RelatedFieldWidgetWrapper is hardcoded 2) extract a simpler
method in RelatedFieldWidgetWrapper to override (that also matches what
the other related widgets are doing). Anyway I don't want to insist,
thanks anyway for the review.
--
Ticket URL: <https://code.djangoproject.com/ticket/31610#comment:5>
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 view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/061.27aa9f2570d6e3f1b1103c849b41ca2c%40djangoproject.com.