mirror of
https://github.com/django/django.git
synced 2025-10-26 07:06:08 +00:00
Fixed #32235 -- Made ReadOnlyPasswordHashField disabled by default.
This commit is contained in:
committed by
Mariusz Felisiak
parent
d746f28949
commit
d8dfff2ab0
@@ -1022,6 +1022,7 @@ class ReadOnlyPasswordHashTest(SimpleTestCase):
|
||||
|
||||
def test_readonly_field_has_changed(self):
|
||||
field = ReadOnlyPasswordHashField()
|
||||
self.assertIs(field.disabled, True)
|
||||
self.assertFalse(field.has_changed('aaa', 'bbb'))
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user