FileField upload_to should not be required for custom backends
|Reported by:||Leah Culver||Owned by:||nobody|
|Severity:||Normal||Keywords:||FileField, files, upload, S3, upload_to|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||yes|
For some file storage backends, the upload_to could be unnecessary. For example, I have an S3 backend and don't need any keys or prefixes for my files.
Currently an error is thrown if upload_to is missing or empty: "file": FileFields require an "upload_to" attribute.
Could upload_to be optional if the storage backend is custom?