1
0
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:
Timo Ludwig
2020-12-02 11:23:52 +01:00
committed by Mariusz Felisiak
parent d746f28949
commit d8dfff2ab0
4 changed files with 15 additions and 21 deletions

View File

@@ -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'))