django-user-accounts
django-user-accounts copied to clipboard
Does this work with mysql utf8mb4?
For MySQL utf8mb4 encoding does email max length need to be changed to 191 instead of 254?
@brosner Can you help with this?
Seems django team is still debating this (https://code.djangoproject.com/ticket/18392#comment:26) but django-allauth uses a setting EMAIL_MAX_LENGTH, see https://github.com/pennersr/django-allauth/blob/7e27fd995cacea1e03bee811ba588305ae3c76f2/allauth/account/models.py#L28 , which allows to to easily use utf8mb4 now without changing the db configuration to allow for longer indexes.