From 808d33c1bf15e6fba38b361e47c60a0b8208b2e0 Mon Sep 17 00:00:00 2001 From: Collin Anderson Date: Mon, 20 Feb 2017 08:48:03 -0500 Subject: [PATCH] [1.11.x] Fixed #27850 -- Made RelatedFieldWidgetWrapper call render() of the wrapped widget. Backport of fb7e0e01af5364987de7fc95ae4d66e22130f2bc from master --- .../admin/widgets/related_widget_wrapper.html | 8 ++++---- django/contrib/admin/widgets.py | 12 +++++++----- django/forms/widgets.py | 8 -------- tests/admin_widgets/tests.py | 16 ++++++++++++++++ 4 files changed, 27 insertions(+), 17 deletions(-) diff --git a/django/contrib/admin/templates/admin/widgets/related_widget_wrapper.html b/django/contrib/admin/templates/admin/widgets/related_widget_wrapper.html index b6a4436953..b84ab14cca 100644 --- a/django/contrib/admin/templates/admin/widgets/related_widget_wrapper.html +++ b/django/contrib/admin/templates/admin/widgets/related_widget_wrapper.html @@ -1,24 +1,24 @@ {% load i18n static %}