I can't get the thumbnail displayed in my template. I get this error:
django.db.utils.ProgrammingError: (1146, "Table 'ia_website.thumbnail_kvstore' doesn't exist")
- Installed sorl_thumbnail-12.3
- I'm using MariaDB 10.1.11
- I have no migration that are not executed
- I can see the image if I don't use the 'thumbnail' tag
Here is what I did
In settings.py:
INSTALLED_APPS = [ ... 'sorl.thumbnail', ] THUMBNAIL_DEBUG = TRUE
In models.py
import sorl ... image = sorl.thumbnail.ImageField(upload_to='thumbnails', null=True)
In my template
{% thumbnail content.image "237x110" as im %} <img src="{{ im.url }}"> {% endthumbnail %}