Opened 13 years ago

Last modified 5 years ago

#16027 closed Cleanup/optimization

Include app_label in ContentType.__unicode__ — at Initial Version

Reported by: Jakub Roztočil Owned by: nobody
Component: contrib.contenttypes Version: dev
Severity: Normal Keywords:
Cc: lemaire.adrien@…, Greg Schmit Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: yes Patch needs improvement: yes
Easy pickings: no UI/UX: no

Description

When there are multiple models with same name in your project and you use the amazing content types framework, then selects for foreign keys to ContentType contain indistinguishable items. To fix this, the app_label needs to be included in ContentType's unicode.

Change History (1)

by Jakub Roztočil, 13 years ago

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