The usage of MEDIA_ROOT is by design.
According to the release notes from 1.3 [1], the intention is to have
uploaded files in MEDIA_ROOT and assets/static files in STATIC_ROOT.
Nothing stops you from doing:
MEDIA_ROOT = STATIC_ROOT
MEDIA_URL = STATIC_URL
[1]
You can define a custom location for your files like the docs tell you:
https://docs.djangoproject.com/en/dev/topics/files/#the-built-in-filesystem-storage-class
https://docs.djangoproject.com/en/dev/howto/custom-file-storage/
https://docs.djangoproject.com/en/dev/topics/http/file-uploads/
If
Hi all,
I am developing an intranet portal using django 1.3.1. I noticed in my
uploader app that the default storage redirects the saved files to the
apache2 directory.
I found later that the reason of this is due to
Django.core.files.storage.py in line 152, 154. It still uses