#17561: EmailField does not automatically lower the case in email addresses
-------------------------------------+-------------------------------------
     Reporter:  zechs.marquie@…      |                    Owner:  nobody
         Type:  Bug                  |                   Status:  closed
    Component:  Database layer       |                  Version:  1.3
  (models, ORM)                      |
     Severity:  Normal               |               Resolution:  invalid
     Keywords:  EmailField,          |             Triage Stage:
  duplicates                         |  Unreviewed
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by Craig de Stigter):

 For those using postgres, the
 [https://www.postgresql.org/docs/current/static/citext.html CITEXT]
 datatype does this very well. It's case sensitive for retrieval but
 insensitive for comparison.

 Django now has
 [https://docs.djangoproject.com/en/dev/ref/contrib/postgres/fields/#citextfield
 a field for it] (1.11 dev)

--
Ticket URL: <https://code.djangoproject.com/ticket/17561#comment:10>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/081.1518b8b8a4c2cf671151f562972819fd%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to