Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to create staff account in django

user = User.objects.create_user('john', 'lennon@thebeatles.com', 'johnpassword')  
user.is_staff=True 
user.save()
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #create #staff #account #django
ADD COMMENT
Topic
Name
2+8 =