mirror of
https://github.com/django/django.git
synced 2025-04-15 12:54:38 +00:00
[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
|
||||
``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
|
||||
|
Loading…
x
Reference in New Issue
Block a user