Changing from abstractuser to abstractbaseuser mid project to remove username field
I created a project initially with abstractuser so I could add additional fields to users profiles as well as set session variables during user login. Ive realised that abstractuser still has a need for the username field even though I have set authentication field to be email. I have tried setting username = None in the model but it throws an error during makemigrations saying unknown field ‘username’ specified for CustomUser.