Re: Extend support for long surnames in Django Auth

2016-07-29 Thread Josh Smeaton
> Nowadays I just go for a single and long name field and I would like to suggest that django.contrib.auth takes this path too because the first name and last name system isn't international and django is for building websites on internet which is meant to be a communication tool connecting Hum

Re: Extend support for long surnames in Django Auth

2016-07-29 Thread James Pic
Indeed first and last name dont make sense en various culture. In the Memopol project for exampe where wé have a table of European Parliament representative we have all sorts of names including (The Earl Of) name suffix which is part of the reasons our first / last name system was completely checkm

Re: Extend support for long surnames in Django Auth

2016-07-29 Thread Aymeric Augustin
Hello, I usually build my projects upon these recommendations, but the UX is awkward and the end result tends to be short_name = first_name and full_name = first_name + space + last_name. We could discuss the usefulness of providing an alternate user model that has short_name + full_name inste

Re: Extend support for long surnames in Django Auth

2016-07-29 Thread ludovic coues
The W3C have some recommandation on the question. https://www.w3.org/International/questions/qa-personal-names 2016-07-29 17:47 GMT+02:00 Aymeric Augustin : > Hello, > > Indeed, Django’s default limit on last name length doesn’t work well for > Brazilians (at least). > > Actually having a `first

Re: Extend support for long surnames in Django Auth

2016-07-29 Thread Aymeric Augustin
Hello, Indeed, Django’s default limit on last name length doesn’t work well for Brazilians (at least). Actually having a `first_name` and `last_name` field doesn’t work well in various cultures, including the US when you want a middle initial. Custom user models are the general answer to that

Re: Extend support for long surnames in Django Auth

2016-07-29 Thread Erik Cederstrand
Hello Raony, I'm sure I'm not aware of all the implications of changing the field length, but the first question should be "how long is long enough"? In answering this question, this Quora question comes to mind: https://www.quora.com/Why-are-South-Indian-names-often-long Kind regards, Erik a.

Extend support for long surnames in Django Auth

2016-07-29 Thread Raony Guimaraes Corrêa Do Carmo Lisboa Cardenas
Hello everyone, For a long time I was having problems to login to djangopackages.com using my github account (pydanny/djangopackages#338 ). After investigating I discovered the problem was because my surname is longer than 30 characters. I