mirror of
https://github.com/django/django.git
synced 2025-10-25 14:46:09 +00:00
Fixed documentation of make_password kwargs.
This commit is contained in:
committed by
Tim Graham
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
|
||||||
|
|||||||
Reference in New Issue
Block a user