#8162: Increase Permission.name max_length
---------------------------------+-------------------------------------
Reporter: juliae | Owner: wilsoniya
Type: Bug | Status: assigned
Component: contrib.auth | Version: master
Severity: Normal | Resolution:
Keywords: schemamigration | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
---------------------------------+-------------------------------------
Comment (by timo):
I don't know of CharField limits other than "Any fields that are stored
with VARCHAR column types have their max_length restricted to 255
characters if you are using unique=True for the field." which isn't
applicable here.
Anyway, 255 would allow verbose name's up to 244 characters and is
basically a paragraph of text. I don't think permissions longer than that
would be useful.
Objections?
--
Ticket URL: <https://code.djangoproject.com/ticket/8162#comment:37>
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/064.ad66a53ceb5d1a55d10acce30a7e90cd%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.