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 you believe you've encountered a bug, please create a ticket on TRAC: http://code.djangoproject.com/newticket More customization can be achieved by specifying a custom file upload handler: https://docs.djangoproject.com/en/dev/topics/http/file-uploads/#upload-handlers Cheers, AT On Wed, May 16, 2012 at 10:26 AM, hakim <abhakim1...@gmail.com> wrote: > 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 > settings.MEDIA_URL. The same thing for 1.4. > I fixed it changing it to STATIC_URL. please fix it in the future release. > > regards, > > -- > You received this message because you are subscribed to the Google Groups > "Django developers" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/django-developers/-/GatVnD3aRs8J. > To post to this group, send email to django-developers@googlegroups.com. > To unsubscribe from this group, send email to > django-developers+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/django-developers?hl=en. > -- You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-developers@googlegroups.com. To unsubscribe from this group, send email to django-developers+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-developers?hl=en.