
上QQ阅读APP看书,第一时间看更新
Getting ready
For images with image versions, we will need the Pillow and django-imagekit libraries. Let's install them with pip in your virtual environment (and include them in requirements/_base.txt):
(env)$ pip install Pillow
(env)$ pip install django-imagekit==4.0.2
Then, add "imagekit" to INSTALLED_APPS in the settings.