-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Documentation enhancements #31
Comments
Thanks for your report. Yes a PR would be much appreciated :) Please separate code and documentation in different PRs of course. Just came back from holidays, lot of work to catch up ^^ |
Hi - I actually ended up doing a more manual implementation of zxcvbn rather than using this library. So since I'm not using it, am probably not the best person to do the PR after all. Should be an easy doc tweak though. Thanks! |
So, to get back at this:
|
Thanks @shacker for your feedback! |
I found it a bit challenging to get the static media wired up. Even though the docs suggesting seeing the upstream repos for more information, they weren't super helpful either.
So that staticfilesfinder can find the js assets, this must be added to INSTALLED_APPS:
'zxcvbn_password',
You refer to
form.media
, but that doesn't work because the example form in the docs doesn't have aMedia:
class. However, I think it's easier to just include JS in the template:With that done, it started working but the indicator bar never changed color. Had to add to my css:
Finally, a little guidance on processing a valid password would be helpful (since we don't see Django's
set_password()
all that often:I'll do a PR if you approve of the idea.
The text was updated successfully, but these errors were encountered: