#26639: Default to ASCIIUsernameValidator (instead of UnicodeUsernameValidator) 
in
Django 1.10
-----------------------------+---------------------------------------------
     Reporter:  davidtgq     |      Owner:  nobody
         Type:  New feature  |     Status:  new
    Component:               |    Version:  1.9
  contrib.auth               |
     Severity:  Normal       |   Keywords:  users, username, unicode, ascii
 Triage Stage:  Unreviewed   |  Has patch:  0
Easy pickings:  0            |      UI/UX:  0
-----------------------------+---------------------------------------------
 Would Django devs please consider using ASCIIUsernameValidator as the
 default, and leave UnicodeUsernameValidator as an opt-in option?

 I don't have the experience in this industry to provide a solid list of
 technical reasons or arguments for why this should be done, but perhaps I
 can try to provide a reason for Django usability from a user standpoint:

 A Django user who is trying to save time and get a product out the door
 isn't going to focus on finer details such as Unicode usernames, and will
 be in for a shock when he finds out a bunch of his users have registered
 themselves with Egyptian hieroglyphics. He may be very frustrated,
 eventually figuring out that he must subclass the User model and set
 `username_validator = ASCIIUsernameValidator()` to get the functionality
 he expected. And what is he to do with the existing Unicode users, delete
 all their accounts?

 Whereas a technologically forward user might be friendlier towards Unicode
 usernames, and would be well-informed on these capabilities within Django.
 Furthermore, the technologically forward user will be more likely to
 already have a custom user model, and won't find it cumbersome to
 explicitly enable Unicode usernames. Enabling Unicode usernames isn't
 destructive like disabling it would be (no need to figure out what to do
 with the existing users offending the validation), so users can simply
 start using it immediately.

 Thanks!

--
Ticket URL: <https://code.djangoproject.com/ticket/26639>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/051.f558202835b2447d34657423be24d0e7%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to