(Before I start, I'm +1 but... 🙂)

Just having a quick go over the history here...

* Original discussion floated a change to 100 or 150 chars. 
    * Aymeric valued fixing the issue for 99.999% of cases. 
    * Tom Christie wanted an "human value", not a machine one. 100 chars 
was suggested. 
    * Florian said 150 chars, still human, a bit longer. 
    * This didn't get resolved. 

* 
https://code.djangoproject.com/changeset/15ef1dd478c5b6f005e5f782b7619f718ed55e84
 
set the limit to 254 chars for User.username.
* Comment at https://code.djangoproject.com/ticket/20846#comment:25 begins, 
"This patch breaks on MySQL..." — some discussion of using 191 chars. 
* 
Eventually 
https://github.com/django/django/commit/780bddf75b93784470a2e352ed44ee35a751d667
 
reduces the limit to 150 chars. 

* 
https://github.com/django/django/commit/d5b573d872bbe0d5825efaee2d41cb3cdc75417b
 
follows suit (to 150 chars) for `last_name`

Current state of play is that username and last_name are 150 chars. 
first_name is still 30 chars. 
https://github.com/django/django/blob/ff8020ed49571b0fece67d10d7398d5f57cbaa74/django/contrib/auth/models.py#L288-L308

I don't know what's going on with first_name but I think 150 chars is the 
go-to value here. 

(Hey, nice 🚲 🙂)

Regards,

Carlton


-- 
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 django-developers+unsubscr...@googlegroups.com.
To post to this group, send email to django-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/django-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-developers/d675e31b-60bc-4dbc-ada0-eb4dda78d311%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to