id,summary,reporter,owner,description,type,status,component,version,severity,resolution,keywords,cc,stage,has_patch,needs_docs,needs_tests,needs_better_patch,easy,ui_ux 2578,"[patch] Using a non-field in ""admin.list_display_links"" raises misleading exception",robbie ,Adrian Holovaty,"A model's ""admin.list_display"" will happily accept non-fields. If the first listed item is a non-field it is linked to the object change page, as a field would be. However, if a non-field is listed in ""admin.list_display_links"" a misleading exception is raised. ex: ""admin.list_filter"" refers to 'example', which isn't a field. This message is obviously incorrect (referring to ""admin.list_filter"", not ""admin.list_display_links""), and the check itself seems redundant. The valid field check can seemingly be removed; at worst, the exception message should be altered actually refer to ""admin.list_display_links"".",defect,closed,contrib.admin,dev,major,fixed,,cmlenz@…,Unreviewed,1,0,0,0,0,0