We will start with the products app that we created in the previous recipe.
Make sure that you have the openpyxl module installed in your virtual environment, to create an Excel spreadsheet, as follows:
(myproject_env)$ pip3 install openpyxl~=2.5.0
If you are using a Docker project, add the dependency to your requirements and rebuild the container, as follows:
# requirements.txt or requirements/base.txt
# ...
openpyxl~=2.5.0