mirror of
https://github.com/django/django.git
synced 2025-07-10 20:59:12 +00:00
[2.2.x] Fixed ForeignKeyRawIdWidgetTest.test_render_unsafe_limit_choices_to on Python 3.5.
This commit is contained in:
parent
ea9bc392c4
commit
b87719034a
@ -592,7 +592,7 @@ class ForeignKeyRawIdWidgetTest(TestCase):
|
||||
w = widgets.ForeignKeyRawIdWidget(rel, widget_admin_site)
|
||||
self.assertHTMLEqual(
|
||||
w.render('test', None),
|
||||
'<input type="text" name="test" class="vForeignKeyRawIdAdminField">\n'
|
||||
'<input type="text" name="test" class="vForeignKeyRawIdAdminField">'
|
||||
'<a href="/admin_widgets/band/?name=%22%26%3E%3Cescapeme&_to_field=id" '
|
||||
'class="related-lookup" id="lookup_id_test" title="Lookup"></a>'
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user