error inuser in django while adding name in admin code example
Example: how to create staff account in django
user = User.objects.create_user('john', '[email protected]', 'johnpassword')
user.is_staff=True
user.save()
user = User.objects.create_user('john', '[email protected]', 'johnpassword')
user.is_staff=True
user.save()