I want to create User with User.objects.create_user(username,email,password)
where User imported from from django.contrib.auth.models import User
but Django doesn't recognize create_user()
and When I want to definition of it VsCode says:No Definition found for 'create_user'
.
I use Django 4.0.4 and python 3.10.4