But that may/may not handle custom User models, etc, but the basis of piping ORM code code into a manage.py shell is another way to go about this task.
But what is the best way as of Django 3.0 to do non-interactive superuser creation?
I think they suggest to skip for production only because that’s not a good idea to create superusers in automatic uncontrollable way. I prefer doing this manually, since I can’t imagine a situation where you’d want to have more than let’s say five super users for a project. And it’s better to create those manually so you don’t leak their passwords anywhere.