2👍
I think I’ve found out the answer on my own. The class also has a create_superuser
method that calls _create_user
as well, but with different arguments. The use of _create_user
thus spares us from having to write the same functionality twice.
Source:stackexchange.com