There's more...

The validators that are provided in AUTH_PASSWORD_VALIDATORS are executed automatically for the createsuperuser and changepassword management commands, as well as the built-in forms that are used to change or reset passwords. There will be times where you will want to use the same validation for custom password management code, though. Django provides functions for that level of integration and you can check the details in the contributed Django auth app in the django.contrib.auth.password_validation module.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset