Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

change password django

>>> from django.contrib.auth.models import User
>>> u = User.objects.get(username='john')
>>> u.set_password('new password')
>>> u.save()
Source by docs.djangoproject.com #
 
PREVIOUS NEXT
Tagged: #change #password #django
ADD COMMENT
Topic
Name
2+2 =