Wednesday, January 24, 2018

Re: Will django include a simpler way to change username to email for registration in the future ?

django allauth (http://django-allauth.readthedocs.io/en/latest/overview.html) also has a pretty good setup for this as well as a lot of other functionality. As suggested it just takes a change in settings.py to move to email as username (although it isn't stored that way in the DB that is how it looks to the user).

On Wed, Jan 24, 2018 at 10:03 AM Avraham Serour <tovmeod@gmail.com> wrote:
someone posted an app for that here w while ago:




On Wed, Jan 24, 2018 at 1:23 AM, Vijay Khemlani <vkhemlan@gmail.com> wrote:
I have been using django-custom-user for that without any issues

On Tue, Jan 23, 2018 at 6:43 PM, Daniel Cîrstea <daniel.cirstea96@gmail.com> wrote:
Hello. For a while I noticed that it is a struggle to extend the AbstractBaseUser in order to change user to email for registration and login. Takes time and it is a lot of code. I was wondering if django will include a simpler way of doing it ? Something simple like just changing a settings.py variable to email and boom, u can create accounts with email address.

--
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+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/606c63a3-792a-4827-8211-1d4be998cc2a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
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+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CALn3ei0evyKJEEkSabqRTNOEKRnRnyLqYi1SLHyauvvE%2Bk2oPg%40mail.gmail.com.

For more options, visit https://groups.google.com/d/optout.

--
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+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAFWa6tLw4r-Ejk-VAeVgo-ZF2orzGtWY%2BGRYXQ2ZOcJ4YB-%2BHQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

--
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+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAGuvt902TVnfeLmp469qRvm4s6M02THNZcAo8tr1XwpCO%2BOzkA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment