﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
36354	Remove unneeded JS from contrib.admin	Fabian Braun		"As part of ticket-34429 (https://code.djangoproject.com/ticket/34429) JS was added to the password change and user create forms to ensure that the forms run on browsers that do not support the `:has()` CSS selector. 

By now, all major browsers support the selector. The last one not supporting it (Firefox 115 ESR) is now well beyond end of life. (See discussion here: https://github.com/django/django/pull/16942/files#r1427864863)

Steps to solve the issue:
* Remove `admin/js/unusable_password_field.js`
* Update `admin/auth/user/chamge_password.html` and `admin/auth/user/add_form.html` to not load the JS file



"	Cleanup/optimization	new	contrib.admin	5.2	Normal				Unreviewed	0	0	0	0	0	0
