password change form django code example
Example 1: django change user password
python manage.py shell
from django.contrib.auth.models import User
usr = User.objects.get(username='your username')
usr.set_password('raw password')
usr.save()
Example 2: Django Change Password
python manage.py changepassword <user_name>