Django: set_password isn't hashing passwords?
set_password
only creates a hashed password; it doesn't save the value in the database. Call save()
to actually save it.
In your views, it should be
user.save()
below the line
user.set_password(user.password)
You didn't write the brackets (parentheses). That's why save
method is not being called after you hash the password.
user.set_password(user.password)
user.save()