One solution is to create your own storage to upload files outside MEDIA folder. Also you will have to write own views to rwtrieve and display these files. Or you have to configure your server to serve static files in the way you want.
Maybe there's better solution, but i did it this way. Radovan On 11. Jan, 13:56 h., Tonton <to.ton...@gmail.com> wrote: > hello > may we use default storage to write outside of project or only in media > because i can writ in media path ... > > my porject : /home/user/project > > and i 'd like to write in > > /var/www/myoutputdirectory own by what ever you want but i've truy www-data > and the user in my WSGIDaemon in apache conf for mod wsgi ... > > so i 've SuspiciousOperation > > attempte access '/var/www/myoutpudirectory/myfilename ' denied -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.