summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2014-10-27 06:44:18 -0400
committerTim Graham <timograham@gmail.com>2014-10-27 06:44:18 -0400
commite317d7fc7269061d12f71bf87d2f1b9e8da1ec8b (patch)
tree168b82b83d130affd3c6a601c17ca5e73b40f7db
parentb42930e4b7f344256cf5625d8b26c7626a354244 (diff)
[1.7.x] Fixed documentation of make_password kwargs.
Backport of ed7c4df1ee from master
-rw-r--r--docs/topics/auth/passwords.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/topics/auth/passwords.txt b/docs/topics/auth/passwords.txt
index 6ad93a3a84..f635f88641 100644
--- a/docs/topics/auth/passwords.txt
+++ b/docs/topics/auth/passwords.txt
@@ -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