1. Use a Django package PAGINATOR to enable page activity.
2. Update the CARS\VIEWS.PY
3. Run your CARS.HTML
4. To activate the PAGE BUTTONS, go to CARS.HTML,
FROM:
TO:
Checks if there is a previous page:
Depending on how car items per page is displayed, it can show several page numbers, the loop below will do this:
Checks if there is a next page:
The entire pagination code block should be:
5. Run the server.
No PDF file attached.