Leaklens

django__django-11265

Using exclude on annotated FilteredRelation doesn't work

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

As far as I understand, the function split_exclude(self, filter_expr, can_reuse, names_with_path) seams to be the faulty one. A new query is created without all extra datas from the original query.

The text points to the exact place to change: “As far as I understand, the function split_exclude(self, filter_expr, can_reuse, names_with_path) seams to be the faulty one. A new query is created without all extra da…”

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