#36250: admin.widgets.RelatedFieldWidgetWrapper.get_context() bypasses the used
renderer
-------------------------------+----------------------------------------
Reporter: Jacob Rief | Owner: Ahmed Nassar
Type: Bug | Status: assigned
Component: contrib.admin | Version: dev
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+----------------------------------------
Comment (by Ahmed Nassar):
✅ Update on RelatedFieldWidgetWrapper Renderer Fix
I have submitted a PR to ensure `RelatedFieldWidgetWrapper.get_context()`
correctly respects the provided renderer.
🔹 Fixes:
Added an optional renderer parameter.
Ensured the underlying widget uses the correct renderer.
Maintained full backward compatibility.
All tests passed successfully.
📌 The PR is ready for review. Let me know if any changes are needed!
🔗 PR: https://github.com/django/django/pull/19271
--
Ticket URL: <https://code.djangoproject.com/ticket/36250#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 view this discussion visit
https://groups.google.com/d/msgid/django-updates/0107019595fc7e96-606ceaac-cc95-4128-8dbc-f3edb7fbc9ae-000000%40eu-central-1.amazonses.com.