[1.6.x] Fixed documentation of make_password kwargs.
Backport of ed7c4df1ee
from master
This commit is contained in:
parent
2bc0dacd40
commit
0f14263c90
|
@ -220,7 +220,7 @@ from the ``User`` model.
|
|||
to be an unusable password, resulting in this method returning
|
||||
``False`` for such a password.
|
||||
|
||||
.. function:: make_password(password[, salt, hashers])
|
||||
.. function:: make_password(password, salt=None, hasher='default')
|
||||
|
||||
Creates a hashed password in the format used by this application. It takes
|
||||
one mandatory argument: the password in plain-text. Optionally, you can
|
||||
|
|
Loading…
Reference in New Issue