I am using django rest auth for registration. I am using email as login and the below are my settings
ACCOUNT_USER_MODEL_USERNAME_FIELD = None ACCOUNT_EMAIL_