mirror of
https://github.com/django/django.git
synced 2025-10-23 21:59:11 +00:00
Fixed #21113 -- Made LogEntry.change_message language independent
Thanks Tim Graham for the review.
This commit is contained in:
@@ -203,12 +203,12 @@ class UtilsTests(SimpleTestCase):
|
||||
"title"
|
||||
)
|
||||
self.assertEqual(
|
||||
label_for_field("title2", Article),
|
||||
"another name"
|
||||
label_for_field("hist", Article),
|
||||
"History"
|
||||
)
|
||||
self.assertEqual(
|
||||
label_for_field("title2", Article, return_attr=True),
|
||||
("another name", None)
|
||||
label_for_field("hist", Article, return_attr=True),
|
||||
("History", None)
|
||||
)
|
||||
|
||||
self.assertEqual(
|
||||
|
||||
Reference in New Issue
Block a user