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 26001,Make ModelAdmin.search_fields raise data errors on __exact lookups for non-string fields.,Tim Graham,Saurabh ,"Currently, [https://github.com/django/django/pull/5883#issuecomment-167767767 all queries are done as string lookups] which gives something like this on PostgreSQL, for example: `(""admin_views_pluggablesearchperson"".""age""::text) = UPPER(20))`. It would be more efficient if the admin cast the search value to an integer and used that for the query.",Cleanup/optimization,assigned,contrib.admin,dev,Normal,,,,Accepted,1,0,0,1,0,0