Closed gterzian closed 11 years ago
I just need to fix this to work as the docs state. I'd hate to have to make people specify an empty string. If you got ambitious and wanted to tackle this, it'd be pretty simple and I'd get it merged in immediately.
I was looking into this, and it appears that this is already optional. If you ended up with an older version of django-athumb, you may be seeing this error. Here's the commit that made MEDIA_CACHE_BUSTER optional:
In the README, I would change this:
You do not need to specify a cache buster.
into:
You will need to specify a cache buster variable in your settings.py, but it can just be an empty string.
The generate_url field method seems to require a cache buster variable in the settings file, without it I got an AttributeError : 'Settings' object has no attribute 'MEDIA_CACHE_BUSTER'