mirror of https://github.com/django/django.git
[1.7.x] Fixed documentation of make_password kwargs.
Backport of ed7c4df1ee
from master
This commit is contained in:
parent
b42930e4b7
commit
e317d7fc72
|
@ -220,7 +220,7 @@ from the ``User`` model.
|
||||||
to be an unusable password, resulting in this method returning
|
to be an unusable password, resulting in this method returning
|
||||||
``False`` for such a password.
|
``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
|
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