*

Problem with image caching on uwsgi/nginx

Hi everyone,

here is the situation:

I’ve been deploying my project, collected static files incl images using 
collectstatic, copied them to the folder I configured nginx with: 
/opt/project_name/static.

Now, I launch uwsgi, open site and find out it points img to cached file: 
mysite.com/media/cache/65/8d/658d063b497b2bd1ea6bf135896566c8.jpg

Of course, nginx can’t serve it since there are only collected images at 
/media - which points to /opt/project_name/static.

I’ve also tried cache.clear() from shell and ./manage.py thumbnail clear 
with no effect.

So, there are two questions I’m asking your help about:

how to set satchmo store cached files to /opt/project_name/static/ where 
nginx points to ?

How to reset cached data so that satchmo regenerated cached images ?

Thank you upfront,

Andrey

*

-- 
You received this message because you are subscribed to the Google Groups 
"Satchmo users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/satchmo-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to