Installation & Setup¶
Installation¶
First you need to make sure to read the Requirements. To install sorl-thumbnail:
pip install sorl-thumbnail
Depending of the chosen image backend, you may also use one of:
pip install sorl-thumbnail[pil]
pip install sorl-thumbnail[wand]
pip install sorl-thumbnail[pgmagick]
Setup¶
Add
sorl.thumbnailto yoursettings.INSTALLED_APPS.Configure your
settingsIf you are using the cached database key value store you need to sync the database:
python manage.py migrate