Opened 15 years ago

Closed 15 years ago

#12852 closed (duplicate)

1406, "Data too long for column 'name'..." on syncdb

Reported by: fvlima Owned by: nobody
Component: contrib.admin Version: 1.1
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

Description

Hi!

If the an class in django model have more than 40 characters in his name, where you run the syncdb, the error "Data too long..." will be displayed when run syncdb, becouse the table auth_permission have the "name" column with varchar 50. Then, django try create the permissions "can delete", "can change" added with the name of class.

I updated to the most recent version, and this error continues.

Regards,

Fred

Change History (1)

comment:1 by Karen Tracey, 15 years ago

Resolution: duplicate
Status: newclosed

Duplicate of #8162.

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