📅  最后修改于: 2022-03-11 14:46:49.505000             🧑  作者: Mango
BaseUserManager().make_random_password() # by deafult its generate 10 charactor password
'aYMX5Wk7Cu'
# Source
https://stackoverflow.com/questions/9480641/django-password-generator