March 2020
Intermediate to advanced
608 pages
17h 17m
English
Go through the following steps to add the responsive images:
(env)$ pip install django-imagekit==4.0.2
# myproject/settings/_base.pyINSTALLED_APPS = [ # … "imagekit", # …]
# myproject/apps/locations/models.pyimport contextlibimport os# …from imagekit.models import ImageSpecFieldfrom pilkit.processors ...