'QuerySet' object has no attribute 'items' code example
Example 1: django queryset' object has no attribute objects
products = products.filter(category=category)
Example 2: django queryset' object has no attribute objects
Check objects spelling first