This document is for a preview release of Django, which can be significantly different from previous releases. For older releases, use the version selector floating in the bottom right corner of this page.
Fixed a regression in Django 2.2.21 where saving FileField would raise a
SuspiciousFileOperation even when a custom
upload_to returns a valid file path
(#32718).
This document is for a preview release of Django, which can be significantly different from previous releases. For older releases, use the version selector floating in the bottom right corner of this page.