From ed7c4df1ee40b9a0793cd294614673fc312bbc33 Mon Sep 17 00:00:00 2001 From: Ilya Baryshev Date: Mon, 27 Oct 2014 07:49:07 +0300 Subject: [PATCH] Fixed documentation of make_password kwargs. --- docs/topics/auth/passwords.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/topics/auth/passwords.txt b/docs/topics/auth/passwords.txt index df070706f4..ee41c4bcdb 100644 --- a/docs/topics/auth/passwords.txt +++ b/docs/topics/auth/passwords.txt @@ -211,7 +211,7 @@ from the ``User`` model. database to check against, and returns ``True`` if they match, ``False`` 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 one mandatory argument: the password in plain-text. Optionally, you can