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: no UI/UX: no


django/contrib/auth/, 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

Change History (1)

comment:1 Changed 10 years ago by Jacob

Resolution: duplicate
Status: newclosed

Dup of #8162.

Note: See TracTickets for help on using tickets.
Back to Top