Thank you for response, I'll look into it.
On Sun, 24 Nov 2019, 11:59 אורי, <u...@speedy.net> wrote: > Hi, > > In Speedy Net users can login either with username or with email. And > notice, users may have more than one email address. You can look at the > code on GitHub. You can set function get_by_natural_key in the user manager > to find the user by email address. For example: > > > https://github.com/speedy-net/speedy-net/blob/master/speedy/core/accounts/managers.py#L30-L31 > > > Please notice also that this form converts the email to lowercase, so that > also uppercase email is accepted in the login form. The email is always > saved as lowercase in the database (when the user registered or adds a new > email address). > > אורי > u...@speedy.net > > > On Sun, Nov 24, 2019 at 7:55 AM Soumen Khatua <soumenkhatua...@gmail.com> > wrote: > >> Hi Folks, >> Any have any idea in real time how programmers manage email id as >> username only. Because django provide different fields for username and >> email id. So how I can overcome to this problem?? >> >> Thank you in advance. >> >> Regards, >> Soumen >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Django users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to django-users+unsubscr...@googlegroups.com. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/django-users/CAPUw6WaQro%3DxhcjdB7am-LdtF%2BSQ02cgePiXs2x4WeJrJNtRwg%40mail.gmail.com >> <https://groups.google.com/d/msgid/django-users/CAPUw6WaQro%3DxhcjdB7am-LdtF%2BSQ02cgePiXs2x4WeJrJNtRwg%40mail.gmail.com?utm_medium=email&utm_source=footer> >> . >> > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to django-users+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/CABD5YeHBf%3DoANN9r82P2%3D-aZN-DtPvRTF0%3D%2B3z5BnvFwT-E_Jw%40mail.gmail.com > <https://groups.google.com/d/msgid/django-users/CABD5YeHBf%3DoANN9r82P2%3D-aZN-DtPvRTF0%3D%2B3z5BnvFwT-E_Jw%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAPUw6WZ1mHb_bQfX92mYYxOWogok4fwaxErLZc-WUgdvHLk3%3Dg%40mail.gmail.com.