Fixed documentation of make_password kwargs.
This commit is contained in:
parent
7f089ac2e3
commit
ed7c4df1ee
|
@ -211,7 +211,7 @@ from the ``User`` model.
|
||||||
database to check against, and returns ``True`` if they match, ``False``
|
database to check against, and returns ``True`` if they match, ``False``
|
||||||
otherwise.
|
otherwise.
|
||||||
|
|
||||||
.. 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
|
Creates a hashed password in the format used by this application. It takes
|
||||||
one mandatory argument: the password in plain-text. Optionally, you can
|
one mandatory argument: the password in plain-text. Optionally, you can
|
||||||
|
|
Loading…
Reference in New Issue