1
0
mirror of https://github.com/django/django.git synced 2025-10-31 09:41:08 +00:00

Fixed #34040 -- Removed autofocus from admin search box.

This commit is contained in:
Moshe Nahmias
2022-09-26 22:06:48 +03:00
committed by GitHub
parent 2cd7ab1ef6
commit d938b3b257
3 changed files with 5 additions and 2 deletions

View File

@@ -1537,7 +1537,7 @@ class ChangeListTests(TestCase):
self.assertContains(
response,
'<input type="text" size="40" name="q" value="" id="searchbar" '
'autofocus aria-describedby="searchbar_helptext">',
'aria-describedby="searchbar_helptext">',
)