Tuesday, November 28, 2017

Re: FileField - not stored to disk when using mod_wsgi?


/tmp is for temporary files, and its very possible Apache is cleaning up those files created through its process when you terminate the server.  

I agree that could have been the case - but do observe that I can not see any files/directories when Apache is running either.

 
I would create a different folder path and use that.



OK - I have created a new directory `/data/storage` and set `MEDIA_ROOT` to point there. Results are the same.

I was wondering if there was some explicit way to force writing to files?
 

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CALKD1M9Mh_Dtxy%3Dkppbm9%3DzxLR38BfEPONPNr%2B9B5CY9ryH6Hw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment