This document is for Django's development version, 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 Django's development version, which can be significantly different from previous releases. For older releases, use the version selector floating in the bottom right corner of this page.