create user with user model djang code example
Example 1: django import user
from django.contrib.auth.models import User
Example 2: how to create staff account in django
user = User.objects.create_user('john', '[email protected]', 'johnpassword')
user.is_staff=True
user.save()