Leaklens

django__django-16661

ModelAdmin.lookup_allowed() incorrectly raises DisallowedModelAdminLookup lookup with foreign key as primary key

Verdict: the issue points to the file or function that was changed (Tier B).

ModelAdmin.lookup_allowed() incorrectly raises DisallowedModelAdminLookup lookup with foreign key as primary key

The text points to the exact place to change: “ModelAdmin.lookup_allowed() incorrectly raises DisallowedModelAdminLookup lookup with foreign key as primary key”

All SWE-bench Verified tasks · more django/django tasks · How the check works