by superxor · 13y ago · 0 comments
In fact I always hate it when application frameworks make arbitrary decisions at the schema level on how long usernames, real names, emails, street addresses, etc. can be. I always use varchar(254) myself. (Unless using a schemaless db like Mongo where this is not even an issue.)
https://bitbucket.org/ubernostrum/django-registration/src/27...
Looks like that's the only place that enforces duplicate usernames.