contrib.auth.User email field length is insufficient for Facebook proxy email addresses
|Reported by:||Owned by:||nobody|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
As of Django 1.2, the max length of the email field on the User model is 75 characters. This is not sufficient to accomodate the random anonymized proxy email addresses generated by Facebook, which are usually well over 75 characters long: e.g. "apps+71659511993.252800001.671353761e563e7852e650c93c3b821c@…".
This poses a problem for integrating with 3rd-party authentication systems; as do other User charfield limits like those on the username, first_name and last_name fields (which are each limited to 30 characters.) In the case of Django's builtin models, whose schemas are awkward to override, I can't see any advantage in being parsimonious with charfield sizes.