- How do I fully replace the username field with an email field for Django authentication?
AbstractUser
vsAbstractBaseUser
Check out the post.
-
Fork/Clone
-
Pick one:
AbstractUser
orAbstractBaseUser
-
Run:
$ pipenv install django==2.1.5 $ pipenv shell (env)$ python manage.py makemigrations (env)$ python manage.py migrate (env)$ python manage.py runserver