#20846: Increase contrib.auth's User.username length
------------------------------+--------------------------------------
Reporter: ivoras@… | Owner: nobody
Type: New feature | Status: closed
Component: contrib.auth | Version: 1.5
Severity: Normal | Resolution: wontfix
Keywords: | Triage Stage: Unreviewed
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
------------------------------+--------------------------------------
Comment (by hwkns):
This absolutely should have been fixed in Django 1.7. With all the
warnings attached here
(https://docs.djangoproject.com/en/dev/topics/auth/customizing/#substituting-a
-custom-user-model), why would anyone think creating a custom User model
is a better idea than a sane default / running a single migration as a
part of a gigantic migrations overhaul?
As far as the definition of "sane", this is a **max_length** property, so
a sane value would be the smallest maximum allowed length for a CharField
in any of Django's supported database backends. I guarantee that value is
not 30.
--
Ticket URL: <https://code.djangoproject.com/ticket/20846#comment:5>
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/074.13647250926ebb430e47467db1275dc6%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.