I want to upload files to a path that is still in my django project, but in my MEDIA_ROOT path.
When I try to do this I get a SuspiciousOperation error.
Here are the paths as defined in my settings file:
MEDIA_ROOT = os.path.join(os.path.dirname( __file__ ), 'static_serve')
UPLOAD_DIR = os.path.join(os.path.dirname( __file__ ), 'uploads')
I'm doing this because I don't want the files I am uploading to be accessible via the browser and my MEDIA_ROOT path is.
Does anyone have any idea how I get around (fix) this error.