createsuperuser internal

hello
so when you create a super user while connecting to django’s built in user model, you get a “(leave blank to use ‘<computer-name>’)”
but when i connect to a custom user model it vanishes
just wanted to know how it works and how to reimplement it on custom user

i know it’s not very importent but intenal stuff are fun :slight_smile:

You can see how it’s done by looking at the function _get_input_message in the Command class in the file django.contrib.auth.management.commands.createsuperuser.