Is there some feature of the new app loading code that I can exploit here?
To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/fab46e55-7dad-4d7d-be55-ea13b606431d%40googlegroups.com.--
You received this message because you are subscribed to the Google Groups "Django developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-develop...@googlegroups.com.
To post to this group, send email to django-d...@googlegroups.com.
Visit this group at http://groups.google.com/group/django-developers.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/CAJxq84_b5eRzyCAp5erYvKir98ZRrpM80pxWLTiMOWgScxnRFw%40mail.gmail.com.
Doesn't the UserManager already have a "normalize_email" method which lower-cases the domain and leaves the mailbox name alone?IMHO It's "proper" to leave it this way by default, and probably mention in the docs it's used so if you want to change it, that's the hook.
--
You received this message because you are subscribed to the Google Groups "Django developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-develop...@googlegroups.com.
To post to this group, send email to django-d...@googlegroups.com.
Visit this group at http://groups.google.com/group/django-developers.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/CAJxq84_1%2B_oVDUAeHyXoFGTirsZEgejaY6q4hNK0EZGpqS96Wg%40mail.gmail.com.
normalize_email will indeed allow both us...@example.com and Us...@example.com to be different entities. From the user perspective, this is an error. Most probably the user enters some day their email in all upper case because he pressed the CapsLock key, or copy pasted a transcript of his email, etc., the user could not be able to figure out the difference and simply could not log in.
On Thursday, February 27, 2014 6:50:38 PM UTC-5, Camilo Torres wrote:normalize_email will indeed allow both us...@example.com and Us...@example.com to be different entities. From the user perspective, this is an error. Most probably the user enters some day their email in all upper case because he pressed the CapsLock key, or copy pasted a transcript of his email, etc., the user could not be able to figure out the difference and simply could not log in.
The point is that the user will inadvertently type User@example.com on their mobile device after registering with us...@example.com on their desktop/laptop. And they won't understand why they can't log in if it is case sensitive. Given that both addresses will deliver email to the same email account, it seems to me that both should be valid for the same account as an email based username on a sign-in form.
--
You received this message because you are subscribed to the Google Groups "Django developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-develop...@googlegroups.com.
To post to this group, send email to django-d...@googlegroups.com.
Visit this group at http://groups.google.com/group/django-developers.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/1393581918.9673.31.camel%40mother.subnetz.org.
Hey guys,I can only imagine how busy everyone has been with Django 1.7 and getting that wrapped up with all the great new features it includes. I know I have been spending a good bit of time updating my work.I know Russell said here that we were thinking it could be put out in 1.7 but I totally understand from all that has been going on that it didn't get released just yet. I looked through and from what I reviewed I didn't see it just yet which is totally fine. I thought it was fairly simple but I can see I certainly don't know enough as I see there are a lot of details that arose in this thread.I'm by no means trying to come off as impatient, just if anyone could give me an update on where things are that would be great as I'm just really curious about this little app and what changes I would then make.
If it's not too much to ask and it is even doable based on how things are built I was hoping to put in my 2 cents below:When Russell said "Both auth.User and emailauth.User have relations with Group, and the names clash, so the test suite won't start." I have a comment.My best case scenario preference for the name of the app would be "django.contrib.auth.EmailUser". Would that then solve the issue of the names clashing as then it would be "auth.User" and "auth.EmailUser"? I also think it is cleaner to not put "emailauth" and put the home for both "User" and "EmailUser" in "auth".