I\'m uploading images (represented by a FileField) and I need to rename those files when they are uploaded.
I want them to be formated like that:
\"%d-
You don't need to write your own FileStorage class or anything that complicated.
The 'upload_to' parameter on File/ImageFields can take a function that returns the path/file to use.
How to do this has already been answered here