Re: default _ storage path

2011-01-12 Thread Tonton
thanks but i do like that i saved file i generate in /media/directory so the path is path="directory/filename.ext" and in var/www/ link ln-s /home/project/media/directory directory so my other program could acces to configuration file in /var/www/directory store in media in real ! regards tont

Re: default _ storage path

2011-01-11 Thread prasad iyer
Give www-data rwx permission /va/www/dir and start the application using the user who is member of www-data On Jan 11, 4:56 am, Tonton 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/projec

Re: default _ storage path

2011-01-11 Thread urukay
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

default _ storage path

2011-01-11 Thread Tonton
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 f