#26544 closed Bug (fixed)
SetPasswordForm help_text always uses LANGUAGE_CODE as locale
Description ¶
The SetPasswordForm
uses help_text=password_validation.password_validators_help_text_html()
, however it will only translate to the LANGUAGE_CODE
setting and not to the users language.
I am not very familiar with django internals, but a workaround of help_text=lazy(password_validation.password_validators_help_text_html)
seemed to work for me.
Change History (6)
by , 9 years ago
Attachment: | django-setpasswordform-helptext.png added |
---|
comment:1 by , 9 years ago
Triage Stage: | Unreviewed → Accepted |
---|
comment:3 by , 9 years ago
Triage Stage: | Accepted → Ready for checkin |
---|
Note:
See TracTickets
for help on using tickets.
SetPasswordForm