django add user to admin code example
Example 1: django admin create superuser
$ python manage.py createsuperuser
Example 2: how to create staff account in django
user = User.objects.create_user('john', '[email protected]', 'johnpassword')
user.is_staff=True
user.save()