Reputation:
sorl
- thumbnail
image not displaying ...
after the long debug i found that cache folder is not created may be that's cause this issue ?
settings.py
INSTALLED_APPS = (
'sorl.thumbnail,
)
MEDIA_URL = '/media/'
MEDIA_ROOT = os.path.join(BASE_DIR, 'media')
How to debug this ?
Upvotes: 3
Views: 959
Reputation: 31663
You're missing '
at the end of 'sorl.thumbnail,
in INSTALLED_APPS
in your settings.py
.
Upvotes: 1
Reputation: 37904
set in settings.py
THUMBNAIL_DEBUG = True
and see why it is not displaying.
you need to migrate sorl.thumbnail
, so it will get its tables created, i think
Upvotes: 1