March 2020
Intermediate to advanced
608 pages
17h 17m
English
The list filter, based on the custom field that we just created, will be shown in the sidebar of the product list, as follows:

The PhotoFilter class has a translatable title and query parameter name as properties. It also has two methods, as follows:
In the lookups() method, we define three choices, as follows:
In the queryset() method, we use the annotate() method of QuerySet to select ...