When applying the AbstractUser changes to the User class (in models.py and admin.py) I was encountering an error when running the python manage.py createsuperuser command.
TypeError: UserManager.create_superuser() missing 1 required positional argument: ‘username’
I would love any feedback as to why this error was appearing (I’m using sql server 2016 and also had a User table previously made).
Hopefully someone can fill me in as to why this was happening. It certainly makes sense as to why this solution works, but as to why Mosh’s demonstration was working, I couldn’t find under the hood what was causing mine to break.
Either way , I hope this helps someone in the future, trying to follow this video with an existing app.