Minor concerns about auth.models.User default settings

2016-10-27 Thread David Tan
In 1.10 auth.models.User.username changed from max_length 30 to 150 and defaults to UnicodeValidator. 1. max_length=150 pushes the username string from 1-byte overhead to 4-bytes overhead in Postgres. 2. (Opinionated) AS

Re: Unicode normalization for username field

2016-05-19 Thread David Tan
> > - I'm afraid this change may result in boilerplate as most custom user > models will revert to Django's historical (and in my opinion sensible) > username validation rules. > That's a tough question to estimate. This might be true for most English monolingual web sites, but not necessaril