Opened 8 years ago

Closed 8 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

Change History (1)

comment:1 Changed 8 years ago by Jacob

Needs documentation: unset
Needs tests: unset
Patch needs improvement: unset
Resolution: duplicate
Status: newclosed

Dup of #8162.

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