mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Fixed #31375 -- Made contrib.auth.hashers.make_password() accept only bytes or strings.
This commit is contained in:
committed by
Mariusz Felisiak
parent
b3ab92cc5a
commit
8aa71f4e87
@@ -603,6 +603,10 @@ Miscellaneous
|
||||
* The admin CSS classes ``row1`` and ``row2`` are removed in favor of
|
||||
``:nth-child(odd)`` and ``:nth-child(even)`` pseudo-classes.
|
||||
|
||||
* The :func:`~django.contrib.auth.hashers.make_password` now requires its
|
||||
argument to be a string or bytes. Other types should be explicitly cast to
|
||||
one of these.
|
||||
|
||||
.. _deprecated-features-3.1:
|
||||
|
||||
Features deprecated in 3.1
|
||||
|
||||
Reference in New Issue
Block a user