linter changes

This commit is contained in:
matthewswspence 2024-12-30 10:18:08 -06:00
parent 52a1f9d695
commit 887a9dfc33
No known key found for this signature in database
GPG key ID: FB458202A7852BA4

View file

@ -2632,10 +2632,10 @@ class DomainRequestAdmin(ListHeaderAdmin, ImportExportModelAdmin):
change_url = reverse("admin:%s_%s_change" % (app_label, model_name), args=[obj_id])
message = format_html(
"The status of this domain request cannot be changed because it has been joined to a domain in Ready status:"
"The status of this domain request cannot be changed because it has been joined to a domain in Ready status:" # noqa: E501
"<a href='{}'>{}</a>",
mark_safe(change_url),
escape(str(domain))
mark_safe(change_url), # nosec
escape(str(domain)),
)
messages.warning(
request,