In general, such a bad luck, I manually cleaned the cache of pictures of the sorl-thumbnail (it was media / cache by default), but they are not created again! Hence the question: how to re-fill the cache? How to "say" sorl-thumbnail'u, what would he cached all over again? The question of course was clumsy, but I don’t know how to write differently :)
- In general, according to logic, the cache should be created automatically ... Why it doesn’t work - I ’m not going to let my mind go :( - metazet
- In general, some kind of problem with libraries, set up a project on a clean system - and the images are not generated at all. - metazet
- oneAnd what is written in the THUMBNAIL_BASEDIR directive? I advise you to check the access rights to the directory with the cache. - Andrey Basalyga
|
1 answer
In general, I decided this: included in the thumbnail debugging
THUMBNAIL_DEBUG = True
and then, from bread crumbs out of errors, I saw that the thumbnail was breaking into a nonexistent folder
/media/cache
, and, moreover, with full access (these are already settings of my local server, I didn’t bother with user settings). In general, he created a folder, gave it rights - and it all worked :) Debugging can be changed back to 'False'.
- @ HashCode Accept my answer to the question. - metazet
|