deve incluir um atributo `queryset`,

Every view needs a queryset defined to know what objects to look for.
You define the view's queryset by using the queryset attribute 
(as I suggested) or returning a valid queryset from a get_queryset method
bilalahmed_dev