I'm deploying Django automatically. I create a superuser at installation with the command :
python manage createsuperuser --username me --email me@example.org --noinput
When I do this no password is set for the account and I'm not able to change the password with the "Forget password" functionality.
If I do :
python manage changepassword me
Then I can reset the password. This behavior comes from this code :
return (u for u in active_users if u.has_usable_password())
What would be the way to "activate" the reset function for all users without hacking the core ?