Opened 6 years ago

Closed 6 years ago

#8632 closed (duplicate)

Permission name field is to short when handling Models with long names

Reported by: stefanfoulis 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:


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

Attachments (0)

Change History (1)

comment:1 Changed 6 years ago by jacob

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Resolution set to duplicate
  • Status changed from new to closed

Dup of #8162.

Add Comment

Modify Ticket

Change Properties
<Author field>
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.