[Answer]-Django "manual" uploaded files doesn't take upload_to in account

1👍

Your file_path function is not returning a directory name. It is returning ‘c_obj13.jpg’ (when self.id is 13). Because of this, there is no directory (note the absence of a directory seperator).

Leave a comment