Leaklens

django__django-16493

Callable storage on FileField fails to deconstruct when it returns default_storage

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

We should probably use getattr(self, "_storage_callable", self.storage) in both lines.

The text states the fix: “We should probably use getattr(self, "_storage_callable", self.storage) in both lines.”

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