Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

django set random password

from django.contrib.auth.models import User

password = User.objects.make_random_password()
user.set_password(password)
user.save()
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #django #set #random #password
ADD COMMENT
Topic
Name
5+8 =