diff options
| author | Devin Cox <dcox@surefyre.co> | 2024-06-12 11:35:12 +0200 |
|---|---|---|
| committer | Sarah Boyce <42296566+sarahboyce@users.noreply.github.com> | 2024-06-14 14:05:11 +0200 |
| commit | 49a3a8d9a22ebcb29fdc4bacaa204f0bd2a6abf6 (patch) | |
| tree | d6a8df6172107a3b42cd7340a9e830cf3283fac5 /tests/admin_widgets/tests.py | |
| parent | fed3efda15f9ff96714f738c44aa823d63762a8c (diff) | |
[5.1.x] Fixed #34789 -- Prevented updateRelatedSelectsOptions from
adding entries to filter_horizontal chosen box.
Co-authored-by: yokeshwaran1 <yokesh440@yahoo.com>
Backport of 719a42b589d7551fc84708044b9e984ce723c8a2 from main.
Diffstat (limited to 'tests/admin_widgets/tests.py')
| -rw-r--r-- | tests/admin_widgets/tests.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/admin_widgets/tests.py b/tests/admin_widgets/tests.py index 4d18849692..6f009a6f3f 100644 --- a/tests/admin_widgets/tests.py +++ b/tests/admin_widgets/tests.py @@ -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" |
