Yeah, that was why I pointed out django-registration already does this. Last time I looked at user-signup apps, it seemed that was the common practice, and also non-Django-powered sites I've used tend to do this. Allowing variations in case to be different users raises a lot of problems of potential impersonation.
On Sat, Aug 29, 2015 at 2:59 PM, Tim Graham <[email protected]> wrote: > The suggested change is to not allow a new user if there's a > username__iexact match. > > On Saturday, August 29, 2015 at 2:56:14 PM UTC-4, James Bennett wrote: >> >> On Sat, Aug 29, 2015 at 1:54 PM, Florian Apolloner <[email protected]> >> wrote: >> >>> Which is? Following the ticket I do not see any clear consenus at all. >>> Imo Registration apps should handle that, which is not something Django >>> ships with. I am -0 on changing the admin to disallow such users. >>> >> >> For what it's worth, django-registration uses an 'iexact' lookup to check >> for duplicate usernames during signup. Treating case variations as the same >> username seems to be the standard on most sites I've used. >> > -- > You received this message because you are subscribed to the Google Groups > "Django developers (Contributions to Django itself)" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/django-developers. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-developers/acbbb18a-45f1-4147-bbd4-cb7e4bd1b3ab%40googlegroups.com > <https://groups.google.com/d/msgid/django-developers/acbbb18a-45f1-4147-bbd4-cb7e4bd1b3ab%40googlegroups.com?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/django-developers. To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/CAL13Cg--p4T8dNmfoG6a0i71Ri0XW-jvZUU-%3DUzUS4gM8%3DU2bg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
