1user@hostname$ python3 -m django shell
2>>> import django.contrib.auth
3>>> User = django.contrib.auth.get_user_model()
4>>> user = User.objects.create_user('username', password='userpassword')
5>>> user.is_superuser = False
6>>> user.is_staff = False
7>>> user.save()
1from django.contrib.auth.models import User
2user = User.objects.create_user(value['USERNAME'], value['EMAIL'], value['PASSWORD'])
3user.first_name = value['NAME']
4user.last_name = value['SURNAME']
5user.save()