Kaydet (Commit) e317d7fc authored tarafından Tim Graham's avatar Tim Graham

[1.7.x] Fixed documentation of make_password kwargs.

Backport of ed7c4df1 from master
üst b42930e4
...@@ -220,7 +220,7 @@ from the ``User`` model. ...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment