When I create superuser it ask me :
-username
-email adress
and nothing
Do you have a custom user model? Can you share the code if so?
You probably have a custom User model that doesn’t have a password
field in it. createsuperuser
will not prompt for password if the User model doesn’t have a password
field.
Unless you have a special reason to customize your User model, it would be better to subclass your User model from AbstractUser
, see this part of the docs: Customizing authentication in Django | Django documentation | Django