Hi there :)

On heroku, do static images expire after some point and automatically get 
deleted?

My situation is that I retrieve images from my PostgreSQL database through 
a model's ImageField by setting its upload_to equal to static/images. Then, 
I access the images through mysitesurl.com/static/images/model.url This 
works perfectly initially. However, after several hours, what I notice is 
that the images are no longer accessible. When I try to access them through 
the same url, they no longer exist. I do not do any manual image deletions 
so the operations I perform should not interfere with this. 

Is this something that Heroku does that I do not understand?

Also, one odd occurrence that I notice is that the image is still 
accessible through the url, but it doesn't actually get saved to 
static/images. When I run the bash shell provided by heroku, its not in the 
static folder.

Note: I am aware of S3, but I am trying to get this to work purely on 
Heroku.

Thanks for any help :D

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/django-users/-/_khBIqL4L9wJ.
To post to this group, send email to django-users@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.

Reply via email to