Thursday, April 12, 2018

Re: username and allowed alphanumeric, why?

My question was related why only that set of extrachars, adding a '=' is a dangerous step or not?
Reading the rest of the page it seems that everyhing is supported with unicode.

On Wednesday, April 11, 2018 at 4:03:04 PM UTC+2, Melvyn Sopacua wrote:
On dinsdag 10 april 2018 11:10:33 CEST Stefano Tranquillini wrote:

> mostly curiosity, why does the username
> https://docs.djangoproject.com/en/1.11/ref/contrib/auth/#django.contrib.auth
> .models.User.username allow only _, @, +, . and - characters?
> is there a reason for that?

Yeah. It's explained a few lines below in the box titled "Usernames and
unicode". The special chars mentioned are just as random I presume.


--
Melvyn Sopacua

--
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/35193314-5e2f-4172-98c3-ec83dfe872ec%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment