Answers for "how to create staff account in django"

0

how to create staff account in django

user = User.objects.create_user('john', '[email protected]', 'johnpassword')  
user.is_staff=True 
user.save()
Posted by: Guest on September-11-2020

Code answers related to "how to create staff account in django"

Python Answers by Framework

Browse Popular Code Answers by Language