Leaklens

django__django-13109

ForeignKey.validate() should validate using the base manager.

Verdict: the fix is stated in the issue (Tier A).

Suggested solution: the ForeignKey validation should use the _base_manager instead which does not include the default filters.

The text states the fix: “Suggested solution: the ForeignKey validation should use the _base_manager instead which does not include the default filters.”

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