Opened 11 minutes ago

Last modified 7 minutes ago

#37517 assigned Bug

Incorrect parameter names in acheck_password() and is_password_usable() docs

Reported by: farisbasha Owned by: farisbasha
Component: Documentation Version: 6.1
Severity: Normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

In docs/topics/auth/passwords.txt the signature of acheck_password() uses asetter=None, but the function argument is setter. Also is_password_usable() is shown with encoded_password, but the argument is encoded. If you follow the docs and pass these as keyword arguments you get a TypeError. PR: ​https://github.com/django/django/pull/22308

Change History (1)

comment:1 by farisbasha, 7 minutes ago

Has patch: set
Note: See TracTickets for help on using tickets.
Back to Top