As I have mentioned, by now you should have a firm grasp of creating the components for a basic web app, including the views, templates, models, and URL configurations, so we will not be discussing these parts of the web app in this chapter. The code pack for this chapter is thus much bigger that the previous ones. I have created all the models and some of the views, templates, and URLs. We will mostly be focusing on how to tame the Django admin app to suit our needs.
I could not think of a fancy name for this project, so I just called the project carrental. As always, create a new virtual environment, install Django in this environment, and run the migrate command to initialize the database. For this project, we need to install one more Python package, Pillow, which is an image manipulation library for Python. To install it, run the following command with the virtual environment activated:
> pip install Pillow
This might take a minute or so as some compilation may be required...