1
0
mirror of https://github.com/django/django.git synced 2025-10-24 14:16:09 +00:00

Fixed ReadOnlyPasswordHashWidget's template for RTL languages.

This commit is contained in:
Shai Berger
2022-09-01 00:39:08 +03:00
committed by Mariusz Felisiak
parent 974942a750
commit fdf0f62521
3 changed files with 11 additions and 12 deletions

View File

@@ -1519,9 +1519,9 @@ class ChangelistTests(AuthViewsTestCase):
# ReadOnlyPasswordHashWidget is used to render the field.
self.assertContains(
response,
"<strong>algorithm</strong>: %s\n\n"
"<strong>salt</strong>: %s********************\n\n"
"<strong>hash</strong>: %s**************************\n\n"
"<strong>algorithm</strong>: <bdi>%s</bdi>\n\n"
"<strong>salt</strong>: <bdi>%s********************</bdi>\n\n"
"<strong>hash</strong>: <bdi>%s**************************</bdi>\n\n"
% (
algo,
salt[:2],