mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Fixed #30399 -- Changed django.utils.html.escape()/urlize() to use html.escape()/unescape().
This commit is contained in:
committed by
Carlton Gibson
parent
28d5262fa3
commit
8d76443aba
@@ -236,7 +236,7 @@ class UserCreationFormTest(TestDataMixin, TestCase):
|
||||
form = UserCreationForm()
|
||||
self.assertEqual(
|
||||
form.fields['password1'].help_text,
|
||||
'<ul><li>Your password can't be too similar to your other personal information.</li></ul>'
|
||||
'<ul><li>Your password can't be too similar to your other personal information.</li></ul>'
|
||||
)
|
||||
|
||||
@override_settings(AUTH_PASSWORD_VALIDATORS=[
|
||||
|
||||
Reference in New Issue
Block a user