Opened 10 years ago
Closed 10 years ago
#8632 closed (duplicate)
Permission name field is to short when handling Models with long names
Reported by: | Stefan Foulis | Owned by: | nobody |
---|---|---|---|
Component: | contrib.auth | Version: | master |
Severity: | Keywords: | ||
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | UI/UX: |
Description
django/contrib/auth/models.py, line 72
name = models.CharField(_('name'), max_length=50)
When handling models with long names max_length is to short for the auto-generated Permission names. Why not just use max_length=255?
It's a trivial change and would be nice to have it in 1.0
Note: See
TracTickets for help on using
tickets.
Dup of #8162.