mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
[5.1.x] Fixed #34789 -- Prevented updateRelatedSelectsOptions from
adding entries to filter_horizontal chosen box.
Co-authored-by: yokeshwaran1 <yokesh440@yahoo.com>
Backport of 719a42b589 from main.
This commit is contained in:
@@ -948,7 +948,7 @@ class RelatedFieldWidgetWrapperTests(SimpleTestCase):
|
||||
output = wrapper.render("stream", "value")
|
||||
expected = """
|
||||
<div class="related-widget-wrapper" data-model-ref="releaseevent">
|
||||
<select name="stream">
|
||||
<select name="stream" data-context="available-source">
|
||||
</select>
|
||||
<a class="related-widget-wrapper-link add-related" id="add_id_stream"
|
||||
data-popup="yes" title="Add another release event"
|
||||
|
||||
Reference in New Issue
Block a user