Re: Ticket 2273: django.contrib.auth.models.User: username is case-sensitive

2019-01-05 Thread Nasir Hussain
What the Standard Says RFC 5321 , the standard that defines how email transport works, lays down the email address case sensitivity issue thus: The local-part of a mailbox MUST BE treated as case sensitive. Therefore, SMTP implementations MUST take care to

Re: Ticket 2273: django.contrib.auth.models.User: username is case-sensitive

2019-01-05 Thread אורי
In Speedy Net all usernames and slugs must be lowercase. If they are entered not lowercase they are converted to lowercase. I don't see any reason why usernames should not be lowercase, especially if there are 2 different users with usernames which differ only in case. All email addresses in

Re: Ticket 2273: django.contrib.auth.models.User: username is case-sensitive

2019-01-05 Thread Kye Russell
Involving email addresses in the discussion complicates things because of the involvement of the email RFC (or RFCs?) which IIRC dictates that the mailbox portion of an email address may be case sensitive. Back to OPs point, I feel that you should respect the case of a username for display

Re: Ticket 2273: django.contrib.auth.models.User: username is case-sensitive

2019-01-05 Thread Shelagh Lewins
I think case-insensitive usernames is a must-have in the mobile world. Users who register on mobile don't notice that their phone has automatically capitalised the first letter of their username when they enter it, and are then unable to log in on laptops because they are typing the lower-case

Re: New optional settings - disable bulk_create in all managers and call self.full_clean() before saving the models

2019-01-05 Thread Aymeric Augustin
Hello, Your ValidateModelMixin and ManagerMixin look perfectly reasonable. You wanted to customize two aspects of Django's behavior. You managed to do so in four lines and three lines respectively. (I'm leaving out `id_generator` which is another concern.) Preventing database writes without

Re: Ticket 2273: django.contrib.auth.models.User: username is case-sensitive

2019-01-05 Thread אורי
I use Google as my email provider. Is it possible to define with Google case-sensitive email addresses? For example, can I define a mailbox " u...@speedy.net" which is different than my mailbox (u...@speedy.net) and belongs to a different user? I don't think so. And remember, if a user is

New optional settings - disable bulk_create in all managers and call self.full_clean() before saving the models

2019-01-05 Thread אורי
Hi, I added this new ticket today and I would like to know what is your feedback or comments? https://code.djangoproject.com/ticket/30080 We are using Django for Speedy Net and Speedy Match (currently Django 1.11.18, we can't upgrade to a newer version

Re: Ticket 2273: django.contrib.auth.models.User: username is case-sensitive

2019-01-05 Thread Nicolas Le Manchet
As Kye Russell mentioned, email addresses being case-sensitive for the local part and case-insensitive for the domain part is a whole different problem that has implications way beyond Django. In my opinion, it is best to leave it out of the issue and focus the discussion on usernames. On Sat,

Re: Ticket 2273: django.contrib.auth.models.User: username is case-sensitive

2019-01-05 Thread Tobias Wiese
Hello, On 1/5/19 10:56 PM, Nicolas Le Manchet wrote: > As Kye Russell mentioned, email addresses being case-sensitive for the local > part and case-insensitive for the domain part is a whole different problem > that has implications way beyond Django. In my opinion, it is best to leave > it