Django's built-in User model uses a username as the primary means of identifying a user. However, you may want to use an email for authentication for your web application.
In this article, we will show you how to configure Django to use an email address as the primary means of identifying a user when they log in.
Considering the scope of the …