Developing change list filters

If you want the administrators to be able to filter the change list by date, relation, or field choices, you have to use the list_filter property for the admin model. Additionally, there is the possibility of having custom-tailored filters. In this recipe, we will add a filter that allows you to select products by the number of photos attached to them.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.191.44.23