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 17985 Document ModelAdmin.lookup_allowed() 3point2 Simon Meers "Right now, as a result of the security fix introduced in r15031, the only way to allow querystring lookups across relationships in the admin is to whitelist them by including them in list_filter. However, in my application the lookup that needs to be whitelisted generates a huge filter widget as it contains thousands of instances. It would be helpful if I could whitelist the exact lookup I need to link to without having to generate the filter widget itself. Something like {{{ class MyModelAdmin(ModelAdmin): allow_lookup = [""fieldname__id__exact""] }}} would do. If the developers agree this is useful functionality, I could write a patch." New feature closed Documentation 1.4 Normal fixed lemaire.adrien@… zborboa@… Accepted 1 0 0 0 0 0