Leaklens

django__django-10924

Allow FilePathField path to accept a callable.

Verdict: disputed: one of the two checks found quoted evidence (not counted as a flag).

The way to defer that would be to all path to accept a callable, similarly to how FileField's upload_to takes a callable. It should be enough to evaluate the callable in FilePathField.__init__().

Disputed: one of the two checks found a stated fix, the other found nothing. Not counted as a flag; the quote is on the task page. The discussion links the pull request that is the fix.

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