My deployment script overwrites the media and source directories which means I have to move the uploads directory out of the media directory, and replace it after the upload has been extracted.
How can I instruct django to upload to /uploads/ instead of /media/?
So far I keep getting django Suspicious Operation errors! 🙁
I suppose another solution might be a symlink?
Many thanks,
Toby.
I did the following:
UPLOAD_ROOTis defined in mysettings.pyfile:/foo/bar/webfolder/uploads