Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

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()
 
PREVIOUS NEXT
Tagged: #django #change #user #password
ADD COMMENT
Topic
Name
9+3 =