1
0
mirror of https://github.com/django/django.git synced 2025-10-25 06:36:07 +00:00

[5.2.x] Applied Black's 2025 stable style.

https://github.com/psf/black/releases/tag/25.1.0
Backport of ff3aaf036f from main
This commit is contained in:
Mariusz Felisiak
2025-03-01 19:41:37 +01:00
parent b8ceda4a51
commit 53bb1d5a24
46 changed files with 213 additions and 185 deletions

View File

@@ -7159,7 +7159,7 @@ class ReadonlyTest(AdminFieldExtractionMixin, TestCase):
url = reverse("admin:admin_views_pizza_change", args=(pizza.pk,))
with self.settings(LANGUAGE_CODE="fr"):
response = self.client.get(url)
self.assertContains(response, "<label>Toppings\u00A0:</label>", html=True)
self.assertContains(response, "<label>Toppings\u00a0:</label>", html=True)
@override_settings(ROOT_URLCONF="admin_views.urls")