2đź‘Ť
âś…
When confronted with this problem, I would pass a “list of visible items” to the template. If you need both lists on the page for some reason, then pass both lists to the template. One is just a filtered queryset of another.
👤Elf Sternberg
Source:stackexchange.com